Require CMake 3.3.0 in all modules
This commit is contained in:
parent
8e6854985f
commit
9d8135bfd7
|
@ -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)
|
project(c++utilities)
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR)
|
||||||
|
|
||||||
if (NOT BASIC_PROJECT_CONFIG_DONE)
|
if (NOT BASIC_PROJECT_CONFIG_DONE)
|
||||||
message(FATAL_ERROR "Before including the AppTarget module, the BasicConfig module must be included.")
|
message(FATAL_ERROR "Before including the AppTarget module, the BasicConfig module must be included.")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
|
@ -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
|
# check whether the required project meta-data has been set before including this module
|
||||||
if (NOT META_PROJECT_NAME)
|
if (NOT META_PROJECT_NAME)
|
||||||
message(FATAL_ERROR "No project name (META_PROJECT_NAME) specified.")
|
message(FATAL_ERROR "No project name (META_PROJECT_NAME) specified.")
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR)
|
||||||
|
|
||||||
if (NOT BASIC_PROJECT_CONFIG_DONE)
|
if (NOT BASIC_PROJECT_CONFIG_DONE)
|
||||||
message(FATAL_ERROR "Before including the Doxygen module, the BasicConfig module must be included.")
|
message(FATAL_ERROR "Before including the Doxygen module, the BasicConfig module must be included.")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR)
|
||||||
|
|
||||||
# prevent multiple inclusion
|
# prevent multiple inclusion
|
||||||
if (DEFINED LIST_TO_STRING_LOADED)
|
if (DEFINED LIST_TO_STRING_LOADED)
|
||||||
return()
|
return()
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR)
|
||||||
|
|
||||||
if (NOT BASIC_PROJECT_CONFIG_DONE)
|
if (NOT BASIC_PROJECT_CONFIG_DONE)
|
||||||
message(FATAL_ERROR "Before including the ShellCompletion module, the BasicConfig module must be included.")
|
message(FATAL_ERROR "Before including the ShellCompletion module, the BasicConfig module must be included.")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR)
|
||||||
|
|
||||||
# prevent multiple inclusion
|
# prevent multiple inclusion
|
||||||
if (DEFINED TEMPLATE_FINDER_LOADED)
|
if (DEFINED TEMPLATE_FINDER_LOADED)
|
||||||
return()
|
return()
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR)
|
||||||
|
|
||||||
if (NOT BASIC_PROJECT_CONFIG_DONE)
|
if (NOT BASIC_PROJECT_CONFIG_DONE)
|
||||||
message(FATAL_ERROR "Before including the TestTarget module, the BasicConfig module must be included.")
|
message(FATAL_ERROR "Before including the TestTarget module, the BasicConfig module must be included.")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
|
@ -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
|
# 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
|
# does nothing if not building with mingw-w64
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue