mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-25 23:51:33 +08:00
Fixed static CMake build for Linux
This commit is contained in:
parent
46fa22dc6a
commit
92369bdb26
@ -60,8 +60,9 @@ else()
|
|||||||
target_compile_definitions(qtadvanceddocking PRIVATE ADS_SHARED_EXPORT)
|
target_compile_definitions(qtadvanceddocking PRIVATE ADS_SHARED_EXPORT)
|
||||||
endif()
|
endif()
|
||||||
target_link_libraries(qtadvanceddocking PUBLIC Qt5::Core Qt5::Gui Qt5::Widgets)
|
target_link_libraries(qtadvanceddocking PUBLIC Qt5::Core Qt5::Gui Qt5::Widgets)
|
||||||
if (UNIX)
|
if(UNIX AND NOT APPLE)
|
||||||
target_link_libraries(qtadvanceddocking PUBLIC Qt5::X11Extras)
|
target_link_libraries(qtadvanceddocking PUBLIC Qt5::X11Extras)
|
||||||
|
target_link_libraries("${MODULE}" xcb)
|
||||||
endif()
|
endif()
|
||||||
set_target_properties(qtadvanceddocking PROPERTIES
|
set_target_properties(qtadvanceddocking PROPERTIES
|
||||||
AUTOMOC ON
|
AUTOMOC ON
|
||||||
|
Loading…
Reference in New Issue
Block a user