fix: libringct_basic missing

This commit is contained in:
moneroexamples 2018-03-15 09:44:43 +08:00
parent 136fd94aab
commit 18e222481f
2 changed files with 7 additions and 5 deletions

View file

@ -110,6 +110,7 @@ set(LIBRARIES
blocks
lmdb
ringct
ringct_basic
device
common
mnemonics

View file

@ -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)