diff options
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 |
