--- src/qhull/CMakeLists.txt.orig	2022-09-06 07:09:19 UTC
+++ src/qhull/CMakeLists.txt
@@ -14,19 +14,8 @@ find_package(Qhull 7.2 QUIET)
 
 add_library(qhull INTERFACE)
 
-if(Qhull_FOUND)
+#force use of bundled qhull#else(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)
 cmake_minimum_required(VERSION 2.6)
 
@@ -144,4 +133,4 @@ endif(UNIX)
 target_include_directories(${qhull_STATIC} BEFORE PUBLIC ${LIBDIR}/qhull/src)
 target_link_libraries(qhull INTERFACE ${qhull_STATIC})
 
-endif()
+#force use of bundled qhull##endif()
