Skip to content

Commit 863ea1b

Browse files
kursatyurtdavidscn
andcommitted
Update from C++14 to C++17 Standard (precice#138)
* Update from C++14 to C++17 Standart * Change CMake and Boost versions Co-authored-by: David Schneider <[email protected]>
1 parent 0556251 commit 863ea1b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
cmake_minimum_required (VERSION 3.1)
1+
cmake_minimum_required (VERSION 3.16.3)
22

33
project(ASTE)
44

55
list (APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
66

7-
set (CMAKE_CXX_STANDARD 14)
7+
set (CMAKE_CXX_STANDARD 17)
88
set (CMAKE_CXX_STANDARD_REQUIRED YES)
99
set (CMAKE_CXX_EXTENSIONS NO)
1010

@@ -22,7 +22,7 @@ find_package (Threads REQUIRED)
2222

2323
find_package(precice REQUIRED CONFIG)
2424

25-
find_package(Boost 1.65.1 REQUIRED COMPONENTS log log_setup system program_options filesystem unit_test_framework)
25+
find_package(Boost 1.71.0 REQUIRED COMPONENTS log log_setup system program_options filesystem unit_test_framework)
2626

2727
option(ASTE_USE_VTK_COMPONENTS "Find VTK with components" OFF)
2828
if(ASTE_USE_VTK_COMPONENTS)

0 commit comments

Comments
 (0)