Skip to content

Commit c9ce328

Browse files
committed
CMake: return back _GLIBCXX_USE_CXX11_ABI define
1 parent 6adc9e7 commit c9ce328

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

cmake/platform/linux.cmake

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,9 @@ if(CMAKE_BUILD_TYPE STREQUAL "Debug")
1919
-g3 -ggdb
2020
)
2121
endif()
22+
23+
set(PLATFORM_COMPILE_DEFINITIONS
24+
${PLATFORM_COMPILE_DEFINITIONS}
25+
26+
_GLIBCXX_USE_CXX11_ABI=0
27+
)

cmake/platform/macos.cmake

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,9 @@ if(CMAKE_BUILD_TYPE STREQUAL "Debug")
1818
-g3 -ggdb
1919
)
2020
endif()
21+
22+
set(PLATFORM_COMPILE_DEFINITIONS
23+
${PLATFORM_COMPILE_DEFINITIONS}
24+
25+
_GLIBCXX_USE_CXX11_ABI=0
26+
)

0 commit comments

Comments
 (0)