Browse Source

Require CMake 3.3.0 in all modules

charconv
Martchus 2 years ago
parent
commit
9d8135bfd7
  1. 2
      CMakeLists.txt
  2. 2
      cmake/modules/AppTarget.cmake
  3. 2
      cmake/modules/BasicConfig.cmake
  4. 2
      cmake/modules/Doxygen.cmake
  5. 2
      cmake/modules/ListToString.cmake
  6. 2
      cmake/modules/ShellCompletion.cmake
  7. 2
      cmake/modules/TemplateFinder.cmake
  8. 2
      cmake/modules/TestTarget.cmake
  9. 2
      cmake/modules/WindowsResources.cmake

2
CMakeLists.txt

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR)
project(c++utilities)

2
cmake/modules/AppTarget.cmake

@ -1,3 +1,5 @@
cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR)
if (NOT BASIC_PROJECT_CONFIG_DONE)
message(FATAL_ERROR "Before including the AppTarget module, the BasicConfig module must be included.")
endif ()

2
cmake/modules/BasicConfig.cmake

@ -1,3 +1,5 @@
cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR)
# check whether the required project meta-data has been set before including this module
if (NOT META_PROJECT_NAME)
message(FATAL_ERROR "No project name (META_PROJECT_NAME) specified.")

2
cmake/modules/Doxygen.cmake

@ -1,3 +1,5 @@
cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR)
if (NOT BASIC_PROJECT_CONFIG_DONE)
message(FATAL_ERROR "Before including the Doxygen module, the BasicConfig module must be included.")
endif ()

2
cmake/modules/ListToString.cmake

@ -1,3 +1,5 @@
cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR)
# prevent multiple inclusion
if (DEFINED LIST_TO_STRING_LOADED)
return()

2
cmake/modules/ShellCompletion.cmake

@ -1,3 +1,5 @@
cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR)
if (NOT BASIC_PROJECT_CONFIG_DONE)
message(FATAL_ERROR "Before including the ShellCompletion module, the BasicConfig module must be included.")
endif ()

2
cmake/modules/TemplateFinder.cmake

@ -1,3 +1,5 @@
cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR)
# prevent multiple inclusion
if (DEFINED TEMPLATE_FINDER_LOADED)
return()

2
cmake/modules/TestTarget.cmake

@ -1,3 +1,5 @@
cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR)
if (NOT BASIC_PROJECT_CONFIG_DONE)
message(FATAL_ERROR "Before including the TestTarget module, the BasicConfig module must be included.")
endif ()

2
cmake/modules/WindowsResources.cmake

@ -1,3 +1,5 @@
cmake_minimum_required(VERSION 3.3.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

Loading…
Cancel
Save