Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dschmidt/libcrashreporter-qt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Schmidt <dev@dominik-schmidt.de>2018-06-27 11:15:18 +0300
committerDominik Schmidt <dev@dominik-schmidt.de>2018-06-27 11:15:18 +0300
commit293bdfb92c9be0ee71e90476e9cf5558c4344317 (patch)
treef6a737e4c934c83eec08e30dc1de14ffbefdcf3f
parent839f18d9d0da1b236d862c3273fe94bc26fd5d50 (diff)
Look for our needed modules unconditionally
-rw-r--r--CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d0bbb34..12e3f8c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,9 +5,7 @@ if(POLICY CMP0071)
cmake_policy(SET CMP0071 NEW)
endif()
-if(NOT TARGET Qt5::Core)
- find_package(Qt5 COMPONENTS Core Network Widgets)
-endif()
+find_package(Qt5 COMPONENTS Core Network Widgets)
if((CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_FLAGS) OR
(UNIX AND NOT APPLE AND CMAKE_CXX_COMPILER_ID MATCHES "Clang"))