mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
build: vendor bcur
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
find_path(BCUR_INCLUDE_DIR "bcur/bc-ur.hpp")
|
||||
find_library(BCUR_LIBRARY bcur)
|
||||
|
||||
if (NOT BCUR_INCLUDE_DIR OR NOT BCUR_LIBRARY)
|
||||
MESSAGE(STATUS "Could not find installed BCUR, using vendored library instead")
|
||||
set(BCUR_VENDORED "ON")
|
||||
set(BCUR_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/src/third-party)
|
||||
set(BCUR_LIBRARY bcur_static)
|
||||
endif()
|
||||
|
||||
message(STATUS "BCUR PATH ${BCUR_INCLUDE_DIR}")
|
||||
message(STATUS "BCUR LIBRARY ${BCUR_LIBRARY}")
|
||||
Reference in New Issue
Block a user