We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e746f22 commit 14511e9Copy full SHA for 14511e9
CMakeLists.txt
@@ -19,12 +19,12 @@ set(CMAKE_VERBOSE_MAKEFILE true)
19
20
if (${CMAKE_CXX_COMPILER_ID} MATCHES GNU)
21
INCLUDE(CheckCXXCompilerFlag)
22
- CHECK_CXX_COMPILER_FLAG(-std=c++14 HAVE_STD11)
+ CHECK_CXX_COMPILER_FLAG(-std=c++11 HAVE_STD11)
23
24
if (HAVE_STD11)
25
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
26
else()
27
- message(FATAL_ERROR "No C++ 11 support (Compiler does not define -std=c++14).")
+ message(FATAL_ERROR "No C++ 11 support (Compiler does not define -std=c++11).")
28
endif()
29
30
if (Uri_FULL_WARNINGS)
0 commit comments