|
|
@ -132,7 +132,7 @@ else(CLANG) |
|
|
|
endif() |
|
|
|
|
|
|
|
add_definitions(-DBOOST_RESULT_OF_USE_DECLTYPE) |
|
|
|
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -stdlib=${CLANG_STDLIB} -Wall -pedantic -Wno-newline-eof -Wno-mismatched-tags -Wno-unused-local-typedefs -ftemplate-depth=1024") |
|
|
|
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -stdlib=${CLANG_STDLIB} -Wall -pedantic -Wno-newline-eof -Wno-mismatched-tags -Wno-unused-local-typedefs -ftemplate-depth=1024 -Wno-parentheses-equality") |
|
|
|
|
|
|
|
if(FORCE_COLOR) |
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fcolor-diagnostics") |
|
|
@ -188,7 +188,7 @@ if(CUSTOM_BOOST_ROOT) |
|
|
|
set(BOOST_ROOT "${CUSTOM_BOOST_ROOT}") |
|
|
|
endif(CUSTOM_BOOST_ROOT) |
|
|
|
|
|
|
|
find_package(Boost REQUIRED) |
|
|
|
find_package(Boost 1.56.0 REQUIRED) |
|
|
|
|
|
|
|
if ((NOT Boost_LIBRARY_DIRS) OR ("${Boost_LIBRARY_DIRS}" STREQUAL "")) |
|
|
|
set(Boost_LIBRARY_DIRS "${Boost_INCLUDE_DIRS}/stage/lib") |
|
|
|