diff --git a/CMakeLists.txt b/CMakeLists.txt index f8daa48..4bb186a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.17.0 FATAL_ERROR) project(c++utilities) diff --git a/cmake/modules/3rdParty.cmake b/cmake/modules/3rdParty.cmake index b975368..423383f 100644 --- a/cmake/modules/3rdParty.cmake +++ b/cmake/modules/3rdParty.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.17.0 FATAL_ERROR) # prevent multiple inclusion if (DEFINED THIRD_PARTY_MODULE_LOADED) diff --git a/cmake/modules/AppTarget.cmake b/cmake/modules/AppTarget.cmake index 0eaf34f..0efecd7 100644 --- a/cmake/modules/AppTarget.cmake +++ b/cmake/modules/AppTarget.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.17.0 FATAL_ERROR) if (NOT BASIC_PROJECT_CONFIG_DONE) message(FATAL_ERROR "Before including the AppTarget module, the BasicConfig module must be included.") diff --git a/cmake/modules/AppUtilities.cmake b/cmake/modules/AppUtilities.cmake index 7324153..9a46b48 100644 --- a/cmake/modules/AppUtilities.cmake +++ b/cmake/modules/AppUtilities.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.17.0 FATAL_ERROR) # prevent multiple inclusion if (DEFINED APPLICATION_UTILITIES_LOADED) diff --git a/cmake/modules/BasicConfig.cmake b/cmake/modules/BasicConfig.cmake index a80bc45..ce3a013 100644 --- a/cmake/modules/BasicConfig.cmake +++ b/cmake/modules/BasicConfig.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.17.0 FATAL_ERROR) # check whether the required project meta-data has been set before including this module if (NOT META_PROJECT_NAME) diff --git a/cmake/modules/ConfigHeader.cmake b/cmake/modules/ConfigHeader.cmake index 7d92a3f..49f5dec 100644 --- a/cmake/modules/ConfigHeader.cmake +++ b/cmake/modules/ConfigHeader.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.17.0 FATAL_ERROR) # before including this module, all relevant variables must be set just include this module as last one since nothing should # depend on it diff --git a/cmake/modules/DevelUtilities.cmake b/cmake/modules/DevelUtilities.cmake index 7907b52..46a95a7 100644 --- a/cmake/modules/DevelUtilities.cmake +++ b/cmake/modules/DevelUtilities.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.17.0 FATAL_ERROR) # prevent multiple inclusion if (DEFINED DEVEL_UTILITIES_LOADED) diff --git a/cmake/modules/Doxygen.cmake b/cmake/modules/Doxygen.cmake index 1cb29ae..96969df 100644 --- a/cmake/modules/Doxygen.cmake +++ b/cmake/modules/Doxygen.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.17.0 FATAL_ERROR) if (NOT BASIC_PROJECT_CONFIG_DONE) message(FATAL_ERROR "Before including the Doxygen module, the BasicConfig module must be included.") diff --git a/cmake/modules/LibraryTarget.cmake b/cmake/modules/LibraryTarget.cmake index e955e53..e6bb08c 100644 --- a/cmake/modules/LibraryTarget.cmake +++ b/cmake/modules/LibraryTarget.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.17.0 FATAL_ERROR) if (NOT BASIC_PROJECT_CONFIG_DONE) message(FATAL_ERROR "Before including the LibraryTarget module, the BasicConfig module must be included.") diff --git a/cmake/modules/ListToString.cmake b/cmake/modules/ListToString.cmake index 01f1282..de9587e 100644 --- a/cmake/modules/ListToString.cmake +++ b/cmake/modules/ListToString.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.17.0 FATAL_ERROR) # prevent multiple inclusion if (DEFINED LIST_TO_STRING_LOADED) diff --git a/cmake/modules/ShellCompletion.cmake b/cmake/modules/ShellCompletion.cmake index 49aad7f..4062775 100644 --- a/cmake/modules/ShellCompletion.cmake +++ b/cmake/modules/ShellCompletion.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.17.0 FATAL_ERROR) if (NOT BASIC_PROJECT_CONFIG_DONE) message(FATAL_ERROR "Before including the ShellCompletion module, the BasicConfig module must be included.") diff --git a/cmake/modules/TemplateFinder.cmake b/cmake/modules/TemplateFinder.cmake index 35d3c5e..49f9923 100644 --- a/cmake/modules/TemplateFinder.cmake +++ b/cmake/modules/TemplateFinder.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.17.0 FATAL_ERROR) # prevent multiple inclusion if (DEFINED TEMPLATE_FINDER_LOADED) diff --git a/cmake/modules/TestTarget.cmake b/cmake/modules/TestTarget.cmake index d3bc964..3de7c9e 100644 --- a/cmake/modules/TestTarget.cmake +++ b/cmake/modules/TestTarget.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.6.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.17.0 FATAL_ERROR) if (NOT BASIC_PROJECT_CONFIG_DONE) message(FATAL_ERROR "Before including the TestTarget module, the BasicConfig module must be included.") diff --git a/cmake/modules/TestUtilities.cmake b/cmake/modules/TestUtilities.cmake index c84dcfe..50eb2bf 100644 --- a/cmake/modules/TestUtilities.cmake +++ b/cmake/modules/TestUtilities.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.17.0 FATAL_ERROR) # prevent multiple inclusion if (DEFINED TESTING_UTILITIES_LOADED) diff --git a/cmake/modules/WindowsResources.cmake b/cmake/modules/WindowsResources.cmake index 14b34ad..47a1f2a 100644 --- a/cmake/modules/WindowsResources.cmake +++ b/cmake/modules/WindowsResources.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.17.0 FATAL_ERROR) # generates and adds a Windows rc file for the application/library also attaches the application icon if ffmpeg is available # does nothing if not building with mingw-w64