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

cmake: fix export of the project with Qhull

parent eb1fe785
Pipeline #15997 failed with stage
in 7 minutes and 26 seconds
...@@ -121,7 +121,7 @@ endif() ...@@ -121,7 +121,7 @@ endif()
option(HPP_FCL_HAS_QHULL "use qhull library to compute convex hulls." FALSE) option(HPP_FCL_HAS_QHULL "use qhull library to compute convex hulls." FALSE)
if(HPP_FCL_HAS_QHULL) if(HPP_FCL_HAS_QHULL)
CHECK_MINIMAL_CXX_STANDARD(11 ENFORCE) CHECK_MINIMAL_CXX_STANDARD(11 ENFORCE)
find_package(Qhull COMPONENTS qhull_r qhullcpp) ADD_PROJECT_DEPENDENCY(Qhull REQUIRED COMPONENTS qhull_r qhullcpp PKG_CONFIG_REQUIRES "qhull_r, qhuppcpp")
if(Qhull_FOUND) if(Qhull_FOUND)
set(HPP_FCL_USE_SYSTEM_QHULL TRUE) set(HPP_FCL_USE_SYSTEM_QHULL TRUE)
else() else()
......
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