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/deps
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2019-12-17 15:05:18 +0300
committertamasmeszaros <meszaros.q@gmail.com>2019-12-17 15:05:18 +0300
commitc3214e9f8656bf4e1cc4ab53b04a75352b2bf78c (patch)
treef209b98087010b23967722bf2597ab645b08e671 /deps
parentaff5adaaa06dbbb2d6b0f9641a3ae54e275a2124 (diff)
Fix CGAL config script being non-relocatable
Diffstat (limited to 'deps')
-rw-r--r--deps/CGAL/CGAL.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/CGAL/CGAL.cmake b/deps/CGAL/CGAL.cmake
index 4b127cd51..96a629258 100644
--- a/deps/CGAL/CGAL.cmake
+++ b/deps/CGAL/CGAL.cmake
@@ -6,4 +6,10 @@ prusaslicer_add_cmake_project(
# URL https://github.com/CGAL/cgal/archive/releases/CGAL-5.0.zip
# URL_HASH SHA256=bd9327be903ab7ee379a8a7a0609eba0962f5078d2497cf8e13e8e1598584154
DEPENDS dep_boost dep_GMP dep_MPFR
+)
+
+ExternalProject_Add_Step(dep_CGAL dep_CGAL_relocation_fix
+ DEPENDEES install
+ COMMAND ${CMAKE_COMMAND} -E remove CGALConfig-installation-dirs.cmake
+ WORKING_DIRECTORY "${DESTDIR}/usr/local/lib/cmake/CGAL"
) \ No newline at end of file