Skip to content

Commit 6f37672

Browse files
author
Marcus Walther
committed
- fix for GCC 5
1 parent f317b8b commit 6f37672

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

SimulationRuntime/cpp/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ IF(USE_CPP_ELEVEN)
124124
SET(CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE} "${CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE}} -std=c++11")
125125
SET(CXX11_FLAGS " -std=c++11") #used for precompiled header
126126
ENDIF(APPLE)
127+
ADD_DEFINITIONS(-D_GLIBCXX_USE_CXX11_ABI=0)
127128
ELSE()
128129
SET(COMPILER_SUPPORTS_CXX11 False)
129130
ENDIF(COMPILER_SUPPORTS_CXX11)

0 commit comments

Comments
 (0)