mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2025-01-13 08:40:26 +08:00
Fixed Linux CMake build
This commit is contained in:
parent
42dc529ce1
commit
70738f7549
@ -60,6 +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)
|
||||||
|
target_link_libraries(qtadvanceddocking PUBLIC Qt5::X11Extras)
|
||||||
|
endif()
|
||||||
set_target_properties(qtadvanceddocking PROPERTIES
|
set_target_properties(qtadvanceddocking PROPERTIES
|
||||||
AUTOMOC ON
|
AUTOMOC ON
|
||||||
AUTORCC ON
|
AUTORCC ON
|
||||||
|
Loading…
Reference in New Issue
Block a user