diff options
| author | xiphon <xiphon@protonmail.com> | 2020-05-27 00:12:40 +0000 |
|---|---|---|
| committer | xiphon <xiphon@protonmail.com> | 2020-05-28 14:51:52 +0000 |
| commit | 39561f8ead36f5f176698a41222445ffa782dce6 (patch) | |
| tree | 6393d67bb417576ef3088a19f8c0ee64d17aefdd /src | |
| parent | b15dbbb9b09a660a810bcf1fdddba97e97407ea2 (diff) | |
| download | monzero-gui-39561f8ead36f5f176698a41222445ffa782dce6.tar.gz monzero-gui-39561f8ead36f5f176698a41222445ffa782dce6.tar.xz monzero-gui-39561f8ead36f5f176698a41222445ffa782dce6.zip | |
cmake: workflows: implement 'release' Linux build target + CI
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c55aaefd..eb83cb0c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -127,18 +127,24 @@ target_compile_definitions(monero-wallet-gui set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}") if(X11_FOUND) - target_link_libraries(monero-wallet-gui ${X11_LIBRARIES} pthread dl Xt xcb X11) + target_link_libraries(monero-wallet-gui ${X11_LIBRARIES} pthread dl xcb X11) endif() if(DEVICE_TREZOR_READY) target_link_libraries(monero-wallet-gui ${TREZOR_DEP_LIBS}) endif() +if(INSTALL_VENDORED_LIBUNBOUND) + set(UNBOUND_LIBRARY ${CMAKE_BINARY_DIR}/monero/external/unbound/libunbound.a) +else() + set(UNBOUND_LIBRARY unbound) +endif() + target_link_libraries(monero-wallet-gui ${CMAKE_BINARY_DIR}/lib/libwallet_merged.a ${LMDB_LIBRARY} ${CMAKE_BINARY_DIR}/monero/contrib/epee/src/libepee.a - ${CMAKE_BINARY_DIR}/monero/external/unbound/libunbound.a + ${UNBOUND_LIBRARY} ${SODIUM_LIBRARY} ${CMAKE_BINARY_DIR}/monero/external/easylogging++/libeasylogging.a ${CMAKE_BINARY_DIR}/monero/src/blockchain_db/libblockchain_db.a |
