From d8bfb8056b49e050a89bdcf528ab76dbad8813c0 Mon Sep 17 00:00:00 2001 From: wqtshg Date: Fri, 6 Nov 2020 16:00:33 +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..351f8f3f 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 "-D_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"