Skip to content

Commit d19c09e

Browse files
committed
enforcing -std=c++14
1 parent 26b00ec commit d19c09e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ SET(CMAKE_VERBOSE_MAKEFILE ON)
1818
#check if compiler is C++14 compliant
1919
include(CheckCXXCompilerFlag)
2020
CHECK_CXX_COMPILER_FLAG("--std=c++14" COMPILER_SUPPORTS_CXX14)
21-
if(NOT COMPILER_SUPPORTS_CXX11)
21+
if(NOT COMPILER_SUPPORTS_CXX14)
2222
message(FATAL "The compiler ${CMAKE_CXX_COMPILER} has no C++14 support. Please use a different C++ compiler.")
2323
endif()
2424

0 commit comments

Comments
 (0)