Verified Commit a8494278 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

cmake: set C/C++ standard

Avoid useless warnings
parent 8597a850
...@@ -41,6 +41,9 @@ set(PROJECT_DESCRIPTION ...@@ -41,6 +41,9 @@ set(PROJECT_DESCRIPTION
) )
SET(PROJECT_USE_CMAKE_EXPORT TRUE) SET(PROJECT_USE_CMAKE_EXPORT TRUE)
SET(CMAKE_C_STANDARD 99)
SET(CMAKE_CXX_STANDARD 98)
# 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)
SET(PROJECT_USE_KEYWORD_LINK_LIBRARIES TRUE) SET(PROJECT_USE_KEYWORD_LINK_LIBRARIES TRUE)
......
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