From bd5cdb210c1d5885b26cde89106fd14fd8ee5a1e Mon Sep 17 00:00:00 2001 From: easymodo Date: Sun, 27 May 2018 19:57:26 +0300 Subject: [PATCH] [CMake] remove deprecated macro --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ead5858..1c298c0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,7 +40,7 @@ add_executable(qimgv ${SRC} ${RES}) target_link_libraries(qimgv actionmanager cache directorymanager loader scaler thumbnailer gui utils sourcecontainers) -qt5_use_modules (qimgv Core Widgets Concurrent) +target_link_libraries(qimgv Qt5::Core Qt5::Widgets Qt5::Concurrent) # binary install(PROGRAMS ${CMAKE_BINARY_DIR}/qimgv