aboutsummaryrefslogtreecommitdiff
path: root/examples
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 /examples
parent5b84c106dd8af8f0be14fd8a8efd3b3dd9ef2c25 (diff)
downloadqmenumodel-af5a57545d9aa5493790798b77364f3c923eb337.tar.gz
qmenumodel-af5a57545d9aa5493790798b77364f3c923eb337.tar.bz2
qmenumodel-af5a57545d9aa5493790798b77364f3c923eb337.zip
Fix qt5_use_modules warning
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 028c6ef..67e1348 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -14,7 +14,6 @@ pkg_check_modules(QMENUMODEL REQUIRED qmenumodel)
add_executable(info-menumodel info-menumodel.cpp)
-qt5_use_modules(info-menumodel Core)
include_directories(${QMENUMODEL_INCLUDE_DIRS})
-target_link_libraries(info-menumodel ${QMENUMODEL_LDFLAGS})
+target_link_libraries(info-menumodel ${QMENUMODEL_LDFLAGS} Qt5::Core)