Commit 0bf47f49 authored by David Boucher's avatar David Boucher
Browse files

fix(cmake): Last change on cmake fixed because of the build on centos8

parent ae50211f
......@@ -20,11 +20,7 @@
cmake_minimum_required(VERSION 2.8)
project("Centreon Clib" C CXX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
if (USE_CXX11_ABI)
add_definitions("-D_GLIBCXX_USE_CXX11_ABI=1")
else ()
add_definitions("-D_GLIBCXX_USE_CXX11_ABI=0")
endif ()
add_definitions("-D_GLIBCXX_USE_CXX11_ABI=1")
# Set directories.
set(INCLUDE_DIR "${PROJECT_SOURCE_DIR}/inc")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment