Commit 3a381b4a authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

[CMake] Allow C++ 11 standard.

parent d74a7e54
...@@ -41,8 +41,9 @@ set(PROJECT_DESCRIPTION ...@@ -41,8 +41,9 @@ set(PROJECT_DESCRIPTION
) )
SET(PROJECT_USE_CMAKE_EXPORT TRUE) SET(PROJECT_USE_CMAKE_EXPORT TRUE)
SET(CMAKE_C_STANDARD 99) IF(NOT DEFINED CMAKE_CXX_STANDARD)
SET(CMAKE_CXX_STANDARD 98) SET(CMAKE_CXX_STANDARD 98)
ENDIF()
# Do not support CMake older than 2.8.12 # Do not support CMake older than 2.8.12
CMAKE_POLICY(SET CMP0022 NEW) CMAKE_POLICY(SET CMP0022 NEW)
......
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