Commit 06d254e0 by Maarten L. Hekkelman

Revert "Use system version of boost regex, when available"

This reverts commit eaa342ca.
parent eaa342ca
......@@ -135,17 +135,9 @@ if(GXX_LIBSTDCPP)
if(STD_REGEX_RUNNING STREQUAL FAILED_TO_RUN)
message(STATUS "You are probably trying to compile using the g++ standard library which contains a crashing std::regex implementation. Will try to use boost::regex instead")
set(Boost_USE_STATIC_LIBS ON)
find_package(Boost 1.72 COMPONENTS regex QUIET)
if(Boost_FOUND)
message(STATUS "Using already installed boost::regex")
list(APPEND CIFPP_REQUIRED_LIBRARIES Boost::regex)
else()
set(BOOST_REGEX_STANDALONE ON)
add_git_submodule(regex EXCLUDE_FROM_ALL)
endif()
endif()
endif()
set(CMAKE_THREAD_PREFER_PTHREAD)
......
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