PrusaSlicer-NonPlainar/deps/qhull-mods.patch

50 lines
1.5 KiB
Diff
Raw Normal View History

2019-10-22 07:58:32 +00:00
From 7f55a56b3d112f4dffbf21b1722f400c64bf03b1 Mon Sep 17 00:00:00 2001
From: tamasmeszaros <meszaros.q@gmail.com>
2019-10-22 07:58:32 +00:00
Date: Mon, 21 Oct 2019 16:52:04 +0200
Subject: [PATCH] Fix the build on macOS
---
2019-10-22 07:58:32 +00:00
CMakeLists.txt | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
2019-06-05 17:19:49 +00:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
2019-10-22 07:58:32 +00:00
index 07d3da2..14df8e9 100644
2019-06-05 17:19:49 +00:00
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
2019-10-22 07:58:32 +00:00
@@ -626,18 +626,18 @@ install(TARGETS ${qhull_TARGETS_INSTALL} EXPORT QhullTargets
include(CMakePackageConfigHelpers)
2019-06-05 17:19:49 +00:00
2019-10-22 07:58:32 +00:00
write_basic_package_version_file(
- "${CMAKE_CURRENT_BINARY_DIR}/Qhull/QhullConfigVersion.cmake"
+ "${CMAKE_CURRENT_BINARY_DIR}/QhullExport/QhullConfigVersion.cmake"
VERSION ${qhull_VERSION}
COMPATIBILITY AnyNewerVersion
)
2019-06-05 17:19:49 +00:00
2019-10-22 07:58:32 +00:00
export(EXPORT QhullTargets
- FILE "${CMAKE_CURRENT_BINARY_DIR}/Qhull/QhullTargets.cmake"
+ FILE "${CMAKE_CURRENT_BINARY_DIR}/QhullExport/QhullTargets.cmake"
NAMESPACE Qhull::
)
2019-06-05 17:19:49 +00:00
2019-10-22 07:58:32 +00:00
configure_file(${PROJECT_SOURCE_DIR}/build/config.cmake.in
- "${CMAKE_CURRENT_BINARY_DIR}/Qhull/QhullConfig.cmake"
+ "${CMAKE_CURRENT_BINARY_DIR}/QhullExport/QhullConfig.cmake"
@ONLY
)
2019-06-05 17:19:49 +00:00
2019-10-22 07:58:32 +00:00
@@ -652,8 +652,8 @@ install(EXPORT QhullTargets
)
install(
FILES
- "${CMAKE_CURRENT_BINARY_DIR}/Qhull/QhullConfig.cmake"
- "${CMAKE_CURRENT_BINARY_DIR}/Qhull/QhullConfigVersion.cmake"
+ "${CMAKE_CURRENT_BINARY_DIR}/QhullExport/QhullConfig.cmake"
+ "${CMAKE_CURRENT_BINARY_DIR}/QhullExport/QhullConfigVersion.cmake"
DESTINATION
${ConfigPackageLocation}
COMPONENT
--
2019-10-22 07:58:32 +00:00
2.17.1