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/qhull
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2019-10-22 17:32:21 +0300
committertamasmeszaros <meszaros.q@gmail.com>2019-10-22 17:32:57 +0300
commit9f9a40100f13a0b8e8b0703a9b034184c47244ed (patch)
treea03cb20dd0c087acdde9eadc769d1e11b96debb2 /src/qhull
parent8dea6c2fd8fb31502a6c5ab38298a046c436b8d9 (diff)
Solve build fail in RelWithDebInfo config with several imported targets.
Diffstat (limited to 'src/qhull')
-rw-r--r--src/qhull/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qhull/CMakeLists.txt b/src/qhull/CMakeLists.txt
index 9ca0bdff2..ab9aba9af 100644
--- a/src/qhull/CMakeLists.txt
+++ b/src/qhull/CMakeLists.txt
@@ -18,11 +18,13 @@ if(Qhull_FOUND)
message(STATUS "Using qhull from system.")
if(SLIC3R_STATIC)
+ slic3r_remap_configs("Qhull::qhullcpp;Qhull::qhullstatic_r" RelWithDebInfo Release)
target_link_libraries(qhull INTERFACE Qhull::qhullcpp Qhull::qhullstatic_r)
else()
+ slic3r_remap_configs("Qhull::qhullcpp;Qhull::qhull_r" RelWithDebInfo Release)
target_link_libraries(qhull INTERFACE Qhull::qhullcpp Qhull::qhull_r)
endif()
-
+
else(Qhull_FOUND)
project(qhull)