Merge pull request #2539

93ed9321 cmake: add libversion and libcheckpoints to libwallet_merged (redfish)
This commit is contained in:
Riccardo Spagni 2017-10-06 22:57:20 +04:00
commit fb7dcb6ec0
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
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