Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
builds: use GLIBCXX11 ABI
This should enable builds with GCC4 that link against libraries
like boost which were built with GCC5.
  • Loading branch information
n-west committed Jul 2, 2016
1 parent 9bb0e75 commit e5fec2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Expand Up @@ -27,6 +27,7 @@ enable_testing()

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
add_definitions(-D_GLIBCXX_USE_CXX11_ABI=1)

set(CMAKE_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}) #allows this to be a sub-project
set(CMAKE_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}) #allows this to be a sub-project
Expand Down

0 comments on commit e5fec2a

Please sign in to comment.