From af5a57545d9aa5493790798b77364f3c923eb337 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Tue, 7 Dec 2021 11:58:59 +0100 Subject: Fix qt5_use_modules warning --- examples/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples') 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) -- cgit v1.2.3