Skip to content

Commit 0006aaa

Browse files
authored
bump CMake to version 3.15.0 (#373)
1 parent fd0c62e commit 0006aaa

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

CMakeLists.txt

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
1-
cmake_minimum_required (VERSION 2.8.6)
2-
3-
if(CMAKE_MAJOR_VERSION LESS 3)
4-
project(CoSimIO CXX C)
5-
else()
6-
if(POLICY CMP0048)
7-
# project command manages version
8-
cmake_policy(SET CMP0048 NEW)
9-
endif(POLICY CMP0048)
10-
project(CoSimIO LANGUAGES CXX C VERSION 3.0.0)
11-
endif()
1+
cmake_minimum_required (VERSION 3.15.0)
2+
project(CoSimIO LANGUAGES CXX C VERSION 3.0.0)
123

134
# this has to be specified BEFORE including CTest!
145
# suppressions file has to be included in the options, as using "MEMORYCHECK_SUPPRESSIONS_FILE" doesn't work on all systems
@@ -36,7 +27,7 @@ endif()
3627

3728
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DCO_SIM_IO_DEBUG")
3829

39-
message("Building the CoSimIO with the following configuration:")
30+
message("Building CoSimIO with the following configuration:")
4031
message(" CO_SIM_IO_BUILD_TYPE: " ${CO_SIM_IO_BUILD_TYPE})
4132
message(" CO_SIM_IO_BUILD_MPI: " ${CO_SIM_IO_BUILD_MPI})
4233
message(" CO_SIM_IO_BUILD_TESTING: " ${CO_SIM_IO_BUILD_TESTING})

0 commit comments

Comments
 (0)