Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-fcl
Commits
3a381b4a
Commit
3a381b4a
authored
Feb 10, 2020
by
Joseph Mirabel
Browse files
[CMake] Allow C++ 11 standard.
parent
d74a7e54
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
3a381b4a
...
...
@@ -41,8 +41,9 @@ set(PROJECT_DESCRIPTION
)
SET
(
PROJECT_USE_CMAKE_EXPORT TRUE
)
SET
(
CMAKE_C_STANDARD 99
)
SET
(
CMAKE_CXX_STANDARD 98
)
IF
(
NOT DEFINED CMAKE_CXX_STANDARD
)
SET
(
CMAKE_CXX_STANDARD 98
)
ENDIF
()
# Do not support CMake older than 2.8.12
CMAKE_POLICY
(
SET CMP0022 NEW
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment