From 43d88c40e50bb27227e163b0648941f60a9c6e04 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Sun, 19 Apr 2020 00:58:13 +0200 Subject: [PATCH] minor --- client/CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 43529809e..ad1c3f35f 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -26,12 +26,9 @@ set(QT_PACKAGELIST Qt5Widgets Qt5Gui ) -foreach(_qt_package IN LISTS QT_PACKAGELIST) - find_package(${_qt_package} ${QT_FIND_PACKAGE_OPTIONS}) -endforeach() - set(Qt5_FOUND ON) foreach(_qt_package IN LISTS QT_PACKAGELIST) + find_package(${_qt_package} ${QT_FIND_PACKAGE_OPTIONS}) if(NOT ${_qt_package}_FOUND) set(Qt5_FOUND OFF) endif(NOT ${_qt_package}_FOUND)