diff --git a/CMakeLists.txt b/CMakeLists.txt index 4ebb7fe..9fa0053 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -110,6 +110,7 @@ set(LIBRARIES blocks lmdb ringct + ringct_basic device common mnemonics diff --git a/cmake/FindMonero.cmake b/cmake/FindMonero.cmake index dfe703f..2c328c4 100644 --- a/cmake/FindMonero.cmake +++ b/cmake/FindMonero.cmake @@ -57,11 +57,12 @@ foreach (l ${LIBS}) endforeach() -#if (EXISTS ${MONERO_BUILD_DIR}/src/ringct/libringct_basic.a) -# add_library(ringct_basic STATIC IMPORTED) -# set_property(TARGET ringct_basic -# PROPERTY IMPORTED_LOCATION ${MONERO_BUILD_DIR}/src/ringct/libringct_basic.a) -#endif() +if (EXISTS ${MONERO_BUILD_DIR}/src/ringct/libringct_basic.a) + message(STATUS FindMonero " found libringct_basic.a") + add_library(ringct_basic STATIC IMPORTED) + set_property(TARGET ringct_basic + PROPERTY IMPORTED_LOCATION ${MONERO_BUILD_DIR}/src/ringct/libringct_basic.a) +endif() message(STATUS ${MONERO_SOURCE_DIR}/build)