Permalink
Browse files

Rephrase message when compiler without c++11 regex support was detected

  • Loading branch information...
cslux committed Oct 24, 2018
1 parent d388a00 commit 37fafe60979b517c754364d7d66b05754f9b984e
Showing with 2 additions and 1 deletion.
  1. +1 −0 scripts/travis.sh
  2. +1 −1 src/CMakeLists.txt
View
@@ -60,6 +60,7 @@ function osx()
{
## Step -- Setup
brew update
rm /usr/local/include/c++
brew install llvm yarn cppunit
brew upgrade python3
python3 -m pip install --upgrade pip
View
@@ -110,7 +110,7 @@ include(CheckCXXSourceRuns)
set(CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS} "-std=c++11" ${CMAKE_CXX_FLAGS} ${LIBCLANG_CXXFLAGS})
check_cxx_source_runs("${CXX_11_EXTENDED_REGEX_TEST}" CXX_11_EXTENDED_REGEX_SUPPORT)
if (NOT CXX_11_EXTENDED_REGEX_SUPPORT)
message(FATAL_ERROR "Compiler with complete C++11 support required ( >= GCC 4.9 or >= Clang 3.3)")
message(FATAL_ERROR "The compiler uses a libstdc++ without c++11 regex support.")
endif ()
unset(CMAKE_REQUIRED_FLAGS)
unset(CMAKE_REQUIRED_LIBRARIES)

0 comments on commit 37fafe6

Please sign in to comment.