From e4d7559b655481aaf876cc78939d1db5cf103f67 Mon Sep 17 00:00:00 2001 From: wqtshg Date: Fri, 6 Nov 2020 15:12:20 +0800 Subject: [PATCH] abi test --- src/common/graph/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/graph/CMakeLists.txt b/src/common/graph/CMakeLists.txt index bb63eb81..4e994b35 100755 --- a/src/common/graph/CMakeLists.txt +++ b/src/common/graph/CMakeLists.txt @@ -16,6 +16,7 @@ # libgraph.so # compiling proto files generates some warnings, use no-unused-variable to suppress them set(CMAKE_CXX_FLAGS "-Wno-unused-variable ${CMAKE_CXX_FLAGS}") +set(CMAKE_CXX_FLAGS "-GLIBCXX_USE_CXX11_ABI=0 ${CMAKE_CXX_FLAGS}") # add all proto files, generate corresponding .h and .cc files file(GLOB_RECURSE PROTO_LIST RELATIVE ${CMAKE_CURRENT_LIST_DIR} "../../proto/om.proto"