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 6a0cc37 commit 34330d6Copy full SHA for 34330d6
CMakeLists.txt
@@ -20,8 +20,7 @@ endif()
20
21
add_library(qhotkey QHotkey/qhotkey.cpp)
22
add_library(QHotkey::QHotkey ALIAS qhotkey)
23
-target_link_libraries(qhotkey PUBLIC Qt${QT_DEFAULT_MAJOR_VERSION}::Core)
24
-target_link_libraries(qhotkey PRIVATE Qt${QT_DEFAULT_MAJOR_VERSION}::Gui)
+target_link_libraries(qhotkey PUBLIC Qt${QT_DEFAULT_MAJOR_VERSION}::Core Qt${QT_DEFAULT_MAJOR_VERSION}::Gui)
25
26
if(BUILD_SHARED_LIBS)
27
target_compile_definitions(qhotkey PRIVATE QHOTKEY_LIBRARY)
0 commit comments