|
|
|
|
@ -55,7 +55,11 @@ list(APPEND LIBRARIES "${Boost_LIBRARIES}")
|
|
|
|
|
link_directories("${Boost_LIBRARY_DIRS}") |
|
|
|
|
include_directories(SYSTEM "${Boost_INCLUDE_DIR}") |
|
|
|
|
|
|
|
|
|
add_cxxflag("-std=c++11") |
|
|
|
|
if(${Boost_VERSION} LESS 104800) |
|
|
|
|
# Older Boost versions don't work with C++11 |
|
|
|
|
else() |
|
|
|
|
add_cxxflag("-std=c++11") |
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
add_cxxflag("-Wall") |
|
|
|
|
add_cxxflag("-Wextra") |
|
|
|
|
|