Skip to content

Commit 44ed9fa

Browse files
committed
Add c++14 requirement for rigid_body_solver
1 parent 8d248f3 commit 44ed9fa

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

quickstart/solid-cpp/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.10.2)
22
SET(TARGET "rigid_body_solver")
33
PROJECT(${TARGET} LANGUAGES CXX DESCRIPTION "rigid_body_solver")
44

5+
# The rigid body solver requires c++14
6+
SET(CMAKE_CXX_STANDARD 14)
7+
SET(CMAKE_CXX_EXTENSIONS OFF)
8+
SET(CMAKE_CXX_STANDARD_REQUIRED ON)
9+
510
FIND_PACKAGE(precice REQUIRED CONFIG)
611
ADD_EXECUTABLE(
712
${TARGET}

0 commit comments

Comments
 (0)