mirror of https://github.com/CGAL/cgal
Removes the copy of the package version file to the build config folder
See: https://github.com/CGAL/cgal/pull/1443#discussion-diff-78147435
This commit is contained in:
parent
a24dd7dd1c
commit
9c338ad61a
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue