diff --git a/external/Qt-Color-Widgets/CMakeLists.txt b/external/Qt-Color-Widgets/CMakeLists.txt index b9d2775c..298a20b2 100644 --- a/external/Qt-Color-Widgets/CMakeLists.txt +++ b/external/Qt-Color-Widgets/CMakeLists.txt @@ -14,10 +14,8 @@ # You should have received a copy of the GNU Lesser General Public License # along with this program. If not, see . # -cmake_minimum_required (VERSION 3.1 FATAL_ERROR) -if ( ${CMAKE_VERSION} VERSION_GREATER "3.12.0") - cmake_policy(SET CMP0077 NEW) -endif() +cmake_minimum_required (VERSION 3.18 FATAL_ERROR) +cmake_policy(SET CMP0077 NEW) set(COLORWIDGET_PROJECT_NAME QtColorWidgets) project(${COLORWIDGET_PROJECT_NAME} CXX) diff --git a/external/Qt-Color-Widgets/color_widgets_designer_plugin/CMakeLists.txt b/external/Qt-Color-Widgets/color_widgets_designer_plugin/CMakeLists.txt index 1c0504ef..aa0799ce 100644 --- a/external/Qt-Color-Widgets/color_widgets_designer_plugin/CMakeLists.txt +++ b/external/Qt-Color-Widgets/color_widgets_designer_plugin/CMakeLists.txt @@ -14,7 +14,7 @@ # You should have received a copy of the GNU Lesser General Public License # along with Color Widgets. If not, see . -cmake_minimum_required (VERSION 3.1 FATAL_ERROR) +cmake_minimum_required (VERSION 3.18 FATAL_ERROR) project(QtColorWidgetsPlugin CXX) diff --git a/external/singleapplication/CMakeLists.txt b/external/singleapplication/CMakeLists.txt index 85dba84c..49ddfa00 100644 --- a/external/singleapplication/CMakeLists.txt +++ b/external/singleapplication/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.7.0) +cmake_minimum_required(VERSION 3.18.0) project(SingleApplication LANGUAGES CXX)