12 lines
316 B
Diff
12 lines
316 B
Diff
|
--- CMakeLists.txt.orig
|
||
|
+++ CMakeLists.txt
|
||
|
@@ -61,6 +61,8 @@
|
||
|
# set(CMAKE_C_STANDARD 90)
|
||
|
# set(CMAKE_CXX_STANDARD 98)
|
||
|
|
||
|
+add_definitions(-D_GLIBCXX_USE_CXX11_ABI=0)
|
||
|
+
|
||
|
IF(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++98")
|
||
|
ELSEIF(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|