cmake: add libversion and libcheckpoints to libwallet_merged

Needed to link monero-core Qt wallet.
This commit is contained in:
redfish 2017-09-27 00:57:02 -04:00
parent 5f7cddeb53
commit 93ed932143
1 changed files with 10 additions and 1 deletions

View File

@ -125,7 +125,16 @@ endif()
# build and install libwallet_merged only if we building for GUI # build and install libwallet_merged only if we building for GUI
if (BUILD_GUI_DEPS) if (BUILD_GUI_DEPS)
set(libs_to_merge wallet cryptonote_core cryptonote_basic mnemonics common cncrypto ringct) set(libs_to_merge
wallet
cryptonote_core
cryptonote_basic
mnemonics
common
cncrypto
ringct
checkpoints
version)
foreach(lib ${libs_to_merge}) foreach(lib ${libs_to_merge})
list(APPEND objlibs $<TARGET_OBJECTS:obj_${lib}>) # matches naming convention in src/CMakeLists.txt list(APPEND objlibs $<TARGET_OBJECTS:obj_${lib}>) # matches naming convention in src/CMakeLists.txt