bump minimum cmake version to 3.5
and put the cmake_minimum_required before project. current cmake has removed support for < 3.5 and tosses a warning if the project statement comes before the cmake_minimum_required statement
This commit is contained in:
parent
ab100c290d
commit
30b7a968d3
@ -1,7 +1,7 @@
|
||||
project(IFEM_Apps)
|
||||
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
project(IFEM_Apps)
|
||||
|
||||
# Add local modules
|
||||
set(IFEM_PATH ${PROJECT_SOURCE_DIR}/..)
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${IFEM_PATH}/cmake/Modules)
|
||||
|
@ -1,6 +1,6 @@
|
||||
project(IFEMAppCommon)
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
project(IFEMAppCommon)
|
||||
|
||||
include_directories(${PROJECT_SOURCE_DIR})
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
project(IFEM)
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
project(IFEM)
|
||||
|
||||
set(IFEM_VERSION_MAJOR 0)
|
||||
set(IFEM_VERSION_MINOR 9)
|
||||
|
Loading…
Reference in New Issue
Block a user