aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorGravatar Dessa2018-04-14 03:07:04 +0200
committerGravatar Dessa2018-04-14 16:30:24 +0200
commit6fb0debf27e7db7f71ed022b4e2606631fbc85c0 (patch)
treeb3a095094944c2bafc37b858bafb16ce8574b38f /cmake
parentrevert issue template to plain text (diff)
downloadKVIrc-6fb0debf27e7db7f71ed022b4e2606631fbc85c0.tar.gz
KVIrc-6fb0debf27e7db7f71ed022b4e2606631fbc85c0.tar.bz2
KVIrc-6fb0debf27e7db7f71ed022b4e2606631fbc85c0.zip
remove qt5_use_modules for Qt 5.11
cmake modules for Qt 5.11 don't have that function anymore, so it needs to be replaced with the standard way of library linkage. downside is that the module listing in the Status page isn't looking too fancy anymore.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/module.rules.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/module.rules.txt b/cmake/module.rules.txt
index 650a4fa80..fff692fef 100644
--- a/cmake/module.rules.txt
+++ b/cmake/module.rules.txt
@@ -16,7 +16,7 @@ set_property(TARGET ${kvi_module_name} PROPERTY CXX_STANDARD_REQUIRED ON)
target_link_libraries(${kvi_module_name} ${KVILIB_BINARYNAME} ${KVIRC_BINARYNAME} ${LIBS})
if(Qt5Widgets_FOUND)
- qt5_use_modules(${kvi_module_name} ${qt5_kvirc_modules})
+ target_link_libraries(${kvi_module_name} ${qt5_kvirc_modules})
endif()
set_target_properties(${kvi_module_name} PROPERTIES LINK_FLAGS "${MODULE_ADDITIONAL_LINK_FLAGS}")