diff --git a/Installation/CMakeLists.txt b/Installation/CMakeLists.txt index 2856cd258c9..13c622bc697 100644 --- a/Installation/CMakeLists.txt +++ b/Installation/CMakeLists.txt @@ -892,8 +892,8 @@ endif() install(FILES + ${CMAKE_BINARY_DIR}/CGALConfigVersion.cmake ${CMAKE_BINARY_DIR}/config/CGALConfig.cmake - ${CMAKE_BINARY_DIR}/config/CGALConfigVersion.cmake DESTINATION ${CGAL_INSTALL_CMAKE_DIR} ) if(CGAL_INSTALL_MAN_DIR) diff --git a/Installation/cmake/modules/CGAL_Macros.cmake b/Installation/cmake/modules/CGAL_Macros.cmake index ba946fbb6f3..60dea84a5cd 100644 --- a/Installation/cmake/modules/CGAL_Macros.cmake +++ b/Installation/cmake/modules/CGAL_Macros.cmake @@ -421,10 +421,6 @@ if( NOT CGAL_MACROS_FILE_INCLUDED ) # There is also a version of CGALConfig.cmake that is prepared in case CGAL in installed in CMAKE_INSTALL_PREFIX. configure_file("${CGAL_MODULES_DIR}/CGALConfig_install.cmake.in" "${CMAKE_BINARY_DIR}/config/CGALConfig.cmake" @ONLY) - configure_file( - "${CMAKE_BINARY_DIR}/CGALConfigVersion.cmake" - "${CMAKE_BINARY_DIR}/config/CGALConfigVersion.cmake" - COPYONLY) #write prefix exceptions file( APPEND ${CMAKE_BINARY_DIR}/CGALConfig.cmake "${SPECIAL_PREFIXES}\n")