mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-10 03:42:05 +02:00
cmake: fix x11 linking
This commit is contained in:
parent
8354c251c5
commit
a3fc6754e0
@ -126,11 +126,6 @@ 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 xcb X11)
|
||||
endif()
|
||||
|
||||
|
||||
if(INSTALL_VENDORED_LIBUNBOUND)
|
||||
set(UNBOUND_LIBRARY ${CMAKE_BINARY_DIR}/monero/external/unbound/libunbound.a)
|
||||
else()
|
||||
@ -162,6 +157,10 @@ if(DEVICE_TREZOR_READY)
|
||||
target_link_libraries(monero-wallet-gui ${TREZOR_DEP_LIBS})
|
||||
endif()
|
||||
|
||||
if(X11_FOUND)
|
||||
target_link_libraries(monero-wallet-gui ${X11_LIBRARIES})
|
||||
endif()
|
||||
|
||||
if(WITH_SCANNER)
|
||||
target_link_libraries(monero-wallet-gui
|
||||
${ZBAR_LIBRARIES}
|
||||
|
Loading…
Reference in New Issue
Block a user