Skip to content

Commit f5bb137

Browse files
committed
cmake: fix export of the project with Qhull
1 parent eb1fe78 commit f5bb137

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ endif()
121121
option(HPP_FCL_HAS_QHULL "use qhull library to compute convex hulls." FALSE)
122122
if(HPP_FCL_HAS_QHULL)
123123
CHECK_MINIMAL_CXX_STANDARD(11 ENFORCE)
124-
find_package(Qhull COMPONENTS qhull_r qhullcpp)
124+
ADD_PROJECT_DEPENDENCY(Qhull REQUIRED COMPONENTS qhull_r qhullcpp PKG_CONFIG_REQUIRES "qhull_r, qhuppcpp")
125125
if(Qhull_FOUND)
126126
set(HPP_FCL_USE_SYSTEM_QHULL TRUE)
127127
else()

0 commit comments

Comments
 (0)