qhull-mods.patch 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. From 7f55a56b3d112f4dffbf21b1722f400c64bf03b1 Mon Sep 17 00:00:00 2001
  2. From: tamasmeszaros <meszaros.q@gmail.com>
  3. Date: Mon, 21 Oct 2019 16:52:04 +0200
  4. Subject: [PATCH] Fix the build on macOS
  5. ---
  6. CMakeLists.txt | 10 +++++-----
  7. 1 file changed, 5 insertions(+), 5 deletions(-)
  8. diff --git a/CMakeLists.txt b/CMakeLists.txt
  9. index 07d3da2..14df8e9 100644
  10. --- a/CMakeLists.txt
  11. +++ b/CMakeLists.txt
  12. @@ -626,18 +626,18 @@ install(TARGETS ${qhull_TARGETS_INSTALL} EXPORT QhullTargets
  13. include(CMakePackageConfigHelpers)
  14. write_basic_package_version_file(
  15. - "${CMAKE_CURRENT_BINARY_DIR}/Qhull/QhullConfigVersion.cmake"
  16. + "${CMAKE_CURRENT_BINARY_DIR}/QhullExport/QhullConfigVersion.cmake"
  17. VERSION ${qhull_VERSION}
  18. COMPATIBILITY AnyNewerVersion
  19. )
  20. export(EXPORT QhullTargets
  21. - FILE "${CMAKE_CURRENT_BINARY_DIR}/Qhull/QhullTargets.cmake"
  22. + FILE "${CMAKE_CURRENT_BINARY_DIR}/QhullExport/QhullTargets.cmake"
  23. NAMESPACE Qhull::
  24. )
  25. configure_file(${PROJECT_SOURCE_DIR}/build/config.cmake.in
  26. - "${CMAKE_CURRENT_BINARY_DIR}/Qhull/QhullConfig.cmake"
  27. + "${CMAKE_CURRENT_BINARY_DIR}/QhullExport/QhullConfig.cmake"
  28. @ONLY
  29. )
  30. @@ -652,8 +652,8 @@ install(EXPORT QhullTargets
  31. )
  32. install(
  33. FILES
  34. - "${CMAKE_CURRENT_BINARY_DIR}/Qhull/QhullConfig.cmake"
  35. - "${CMAKE_CURRENT_BINARY_DIR}/Qhull/QhullConfigVersion.cmake"
  36. + "${CMAKE_CURRENT_BINARY_DIR}/QhullExport/QhullConfig.cmake"
  37. + "${CMAKE_CURRENT_BINARY_DIR}/QhullExport/QhullConfigVersion.cmake"
  38. DESTINATION
  39. ${ConfigPackageLocation}
  40. COMPONENT
  41. --
  42. 2.17.1