|
|
|
@ -74,10 +74,13 @@ target_link_libraries(wallet
|
|
|
|
|
${Boost_REGEX_LIBRARY}
|
|
|
|
|
${EXTRA_LIBRARIES})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# build and install libwallet_merged only if we building for GUI
|
|
|
|
|
if (BUILD_GUI_DEPS)
|
|
|
|
|
set(libs_to_merge wallet cryptonote_core mnemonics common crypto ringct)
|
|
|
|
|
|
|
|
|
|
foreach(lib ${libs_to_merge})
|
|
|
|
|
list(APPEND objlibs $<TARGET_OBJECTS:obj_${lib}>) # matches naming convention in src/CMakeLists.txtA
|
|
|
|
|
list(APPEND objlibs $<TARGET_OBJECTS:obj_${lib}>) # matches naming convention in src/CMakeLists.txt
|
|
|
|
|
endforeach()
|
|
|
|
|
add_library(wallet_merged STATIC ${objlibs})
|
|
|
|
|
install(TARGETS wallet_merged
|
|
|
|
@ -85,3 +88,4 @@ install(TARGETS wallet_merged
|
|
|
|
|
|
|
|
|
|
install(FILES ${wallet_api_headers}
|
|
|
|
|
DESTINATION include/wallet)
|
|
|
|
|
endif()
|
|
|
|
|