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