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
Humanoid Path Planner
hpp-fcl
Commits
eb1fe785
Verified
Commit
eb1fe785
authored
Sep 10, 2021
by
Justin Carpentier
Browse files
cmake: enforce c++ 11
parent
d338645a
Pipeline
#15991
passed with stage
in 38 minutes and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
eb1fe785
...
...
@@ -120,9 +120,7 @@ endif()
option
(
HPP_FCL_HAS_QHULL
"use qhull library to compute convex hulls."
FALSE
)
if
(
HPP_FCL_HAS_QHULL
)
if
(
DEFINED CMAKE_CXX_STANDARD AND CMAKE_CXX_STANDARD EQUAL 98
)
message
(
FATAL_ERROR
"Cannot use qhull library with C++ < 11.
\n
You may add -DCMAKE_CXX_STANDARD=11"
)
endif
()
CHECK_MINIMAL_CXX_STANDARD
(
11 ENFORCE
)
find_package
(
Qhull COMPONENTS qhull_r qhullcpp
)
if
(
Qhull_FOUND
)
set
(
HPP_FCL_USE_SYSTEM_QHULL TRUE
)
...
...
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