Browse Source

abi test

pull/249/head
wqtshg 4 years ago
parent
commit
d8bfb8056b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/common/graph/CMakeLists.txt

+ 1
- 0
src/common/graph/CMakeLists.txt View File

@@ -16,6 +16,7 @@
# libgraph.so # libgraph.so
# compiling proto files generates some warnings, use no-unused-variable to suppress them # 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 "-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 # add all proto files, generate corresponding .h and .cc files
file(GLOB_RECURSE PROTO_LIST RELATIVE ${CMAKE_CURRENT_LIST_DIR} file(GLOB_RECURSE PROTO_LIST RELATIVE ${CMAKE_CURRENT_LIST_DIR}
"../../proto/om.proto" "../../proto/om.proto"


Loading…
Cancel
Save