diff options
author | Robert Tari <robert@tari.in> | 2021-12-07 11:58:59 +0100 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-12-07 11:58:59 +0100 |
commit | af5a57545d9aa5493790798b77364f3c923eb337 (patch) | |
tree | 7b272a1a1442c68990539a165f9f86c519a08bd2 /examples | |
parent | 5b84c106dd8af8f0be14fd8a8efd3b3dd9ef2c25 (diff) | |
download | qmenumodel-af5a57545d9aa5493790798b77364f3c923eb337.tar.gz qmenumodel-af5a57545d9aa5493790798b77364f3c923eb337.tar.bz2 qmenumodel-af5a57545d9aa5493790798b77364f3c923eb337.zip |
Fix qt5_use_modules warning
Diffstat (limited to 'examples')
-rw-r--r-- | examples/CMakeLists.txt | 3 |
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) |