diff --git a/CMake/ctkMacroSetupQt.cmake b/CMake/ctkMacroSetupQt.cmake index 9777ad4297..5d77d6659a 100644 --- a/CMake/ctkMacroSetupQt.cmake +++ b/CMake/ctkMacroSetupQt.cmake @@ -22,7 +22,7 @@ macro(ctkMacroSetupQt) if(CTK_QT_VERSION VERSION_EQUAL "5") - cmake_minimum_required(VERSION 2.8.12) + cmake_minimum_required(VERSION 3.16.3) find_package(Qt5 COMPONENTS Core) set(CTK_QT5_COMPONENTS Core) diff --git a/CMakeLists.txt b/CMakeLists.txt index 48c4ef83b9..e49676e4a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,10 +18,9 @@ # ########################################################################### -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.16.3) foreach(p - CMP0054 # CMake 3.1 ) if(POLICY ${p}) cmake_policy(SET ${p} NEW) diff --git a/Utilities/DGraph/CMakeLists.txt b/Utilities/DGraph/CMakeLists.txt index 29af0c5db2..8f6d25e7bb 100644 --- a/Utilities/DGraph/CMakeLists.txt +++ b/Utilities/DGraph/CMakeLists.txt @@ -18,7 +18,7 @@ # ########################################################################### -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.16.3) project(DGraph)