We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d10c6e commit 2d2de53Copy full SHA for 2d2de53
src/CMakeLists.txt
@@ -85,7 +85,12 @@ target_link_libraries(${library_name} PUBLIC Qt${QT_VERSION_MAJOR}::Core
85
Qt${QT_VERSION_MAJOR}::Gui
86
Qt${QT_VERSION_MAJOR}::Widgets)
87
if (UNIX AND NOT APPLE)
88
- target_link_libraries(${library_name} PUBLIC xcb)
+ if (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
89
+ find_package(X11 REQUIRED)
90
+ target_link_libraries(${library_name} PUBLIC X11::xcb)
91
+ else()
92
+ target_link_libraries(${library_name} PUBLIC xcb)
93
+ endif()
94
endif()
95
set_target_properties(${library_name} PROPERTIES
96
AUTOMOC ON
0 commit comments