Update CMakeLists.txt

This commit is contained in:
githubuser0xFFFF 2020-10-27 18:50:54 +01:00 committed by GitHub
parent f6d3d6d34a
commit 637db7f4f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ endif()
target_link_libraries(qtadvanceddocking PUBLIC Qt5::Core Qt5::Gui Qt5::Widgets)
if(UNIX AND NOT APPLE)
target_link_libraries(qtadvanceddocking PUBLIC Qt5::X11Extras)
target_link_libraries("${MODULE}" xcb)
target_link_libraries(qtadvanceddocking xcb)
endif()
set_target_properties(qtadvanceddocking PROPERTIES
AUTOMOC ON