mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-16 17:27:38 +00:00
12 lines
435 B
CMake
12 lines
435 B
CMake
|
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}")
|