Commit f4411e8d authored by Etienne Schmitt's avatar Etienne Schmitt Committed by Pierre Kraemer

using boost::regex if compiler doesn't supply a working version of std::regex...

using boost::regex if compiler doesn't supply a working version of std::regex (for example gcc 4.8.x)
Signed-off-by: Etienne Schmitt's avatarÉtienne Schmitt <etienne.schmitt@inria.fr>
parent 3dbc1f91
This diff is collapsed.
......@@ -243,6 +243,12 @@ IF(NOT WIN32)
LIST(APPEND CGoGN_EXT_LIBS pthread) #for c++11 thread
ENDIF()
IF (NOT HAS_CPP11_REGEX)
find_package(Boost COMPONENTS regex REQUIRED)
include_directories( ${Boost_INCLUDE_DIR} )
list(APPEND CGoGN_EXT_LIBS ${Boost_LIBRARIES})
ENDIF ()
include_directories(
${CGoGN_SRC_DIR}/include
......
Markdown is supported
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