Small addition to qhull dep handling.
This commit is contained in:
parent
0fbebe85da
commit
c55b4ff586
1 changed files with 2 additions and 4 deletions
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
# see bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925540
|
# see bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925540
|
||||||
|
|
||||||
# find_package(Qhull 7.2 QUIET)
|
find_package(Qhull 7.2 QUIET)
|
||||||
|
|
||||||
add_library(qhull INTERFACE)
|
add_library(qhull INTERFACE)
|
||||||
|
|
||||||
|
@ -139,9 +139,7 @@ endif(UNIX)
|
||||||
##################################################
|
##################################################
|
||||||
|
|
||||||
# LIBDIR is defined in the main xs CMake file:
|
# LIBDIR is defined in the main xs CMake file:
|
||||||
target_include_directories(${qhull_STATIC} PRIVATE ${LIBDIR}/qhull/src)
|
target_include_directories(${qhull_STATIC} BEFORE PUBLIC ${LIBDIR}/qhull/src)
|
||||||
|
|
||||||
target_link_libraries(qhull INTERFACE ${qhull_STATIC})
|
target_link_libraries(qhull INTERFACE ${qhull_STATIC})
|
||||||
target_include_directories(qhull INTERFACE ${LIBDIR}/qhull/src)
|
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Add table
Reference in a new issue