aboutsummaryrefslogtreecommitdiff
path: root/tests/script
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-12-07 11:58:59 +0100
committerRobert Tari <robert@tari.in>2021-12-07 11:58:59 +0100
commitaf5a57545d9aa5493790798b77364f3c923eb337 (patch)
tree7b272a1a1442c68990539a165f9f86c519a08bd2 /tests/script
parent5b84c106dd8af8f0be14fd8a8efd3b3dd9ef2c25 (diff)
downloadqmenumodel-af5a57545d9aa5493790798b77364f3c923eb337.tar.gz
qmenumodel-af5a57545d9aa5493790798b77364f3c923eb337.tar.bz2
qmenumodel-af5a57545d9aa5493790798b77364f3c923eb337.zip
Fix qt5_use_modules warning
Diffstat (limited to 'tests/script')
-rw-r--r--tests/script/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/script/CMakeLists.txt b/tests/script/CMakeLists.txt
index afa073b..fc0db8a 100644
--- a/tests/script/CMakeLists.txt
+++ b/tests/script/CMakeLists.txt
@@ -4,5 +4,5 @@ add_library(dbusmenuscript STATIC dbusmenuscript.cpp)
set_target_properties(dbusmenuscript PROPERTIES COMPILE_FLAGS -fPIC)
-qt5_use_modules(dbusmenuscript Core DBus Test)
+target_link_libraries(dbusmenuscript Qt5::Core Qt5::DBus Qt5::Test)