From 1d62a7f919cb00705a96f2502b49d7f16a6c2793 Mon Sep 17 00:00:00 2001 From: Dan Dees Date: Fri, 23 Oct 2020 06:03:08 +0700 Subject: [PATCH] Qt5::Core uneeded - already dep in Qt5::Gui target --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 37b9c35..fd30105 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ project(QXlsx VERSION 1.3.56 LANGUAGES CXX) include(GNUInstallDirs) -find_package(Qt5 5.6.0 REQUIRED COMPONENTS Core Gui) +find_package(Qt5 5.6.0 REQUIRED COMPONENTS Gui) find_package(Qt5Gui CONFIG REQUIRED Private) set(CMAKE_AUTOMOC ON) @@ -39,7 +39,7 @@ target_sources(QXlsx PRIVATE ${files_cpp} ${files_h} ) -target_link_libraries(QXlsx PUBLIC Qt5::Core Qt5::Gui Qt5::GuiPrivate) +target_link_libraries(QXlsx PUBLIC Qt5::Gui Qt5::GuiPrivate) target_include_directories(QXlsx PRIVATE ${PROJECT_SOURCE_DIR}/QXlsx/header INTERFACE ${CMAKE_INSTALL_FULL_INCLUDEDIR}/QXlsx)