Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2019-06-06 13:21:38 +0300
committertamasmeszaros <meszaros.q@gmail.com>2019-06-06 13:57:05 +0300
commitc55b4ff586c3d761d0be6faab8aff734d135cd9d (patch)
tree121bf5b5f663afe53bddc66ae2bb10bc8e048292 /src
parent0fbebe85da3e610352704cf6ff1c90aebede02ad (diff)
Small addition to qhull dep handling.
Diffstat (limited to 'src')
-rw-r--r--src/qhull/CMakeLists.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/qhull/CMakeLists.txt b/src/qhull/CMakeLists.txt
index 262214a5c..734bb8295 100644
--- a/src/qhull/CMakeLists.txt
+++ b/src/qhull/CMakeLists.txt
@@ -10,7 +10,7 @@
# 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)
@@ -139,9 +139,7 @@ endif(UNIX)
##################################################
# 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_include_directories(qhull INTERFACE ${LIBDIR}/qhull/src)
endif()