mirror of https://github.com/CGAL/cgal
Partially revert 7cc46441b5
Partially revert 7cc46441b5 from the PR
https://github.com/CGAL/cgal/pull/3021
We want to override CGALConfig.cmake. The previous patch was wrong. That is
easier to forbid in-source builds in Git, anyway.
This commit is contained in:
parent
b0f312b192
commit
01574e7ab9
|
|
@ -864,10 +864,8 @@ endif()
|
||||||
if(NOT CGAL_HEADER_ONLY)
|
if(NOT CGAL_HEADER_ONLY)
|
||||||
create_CGALconfig_files()
|
create_CGALconfig_files()
|
||||||
else()
|
else()
|
||||||
if(NOT EXISTS "${CMAKE_BINARY_DIR}/CGALConfig.cmake")
|
|
||||||
configure_file("${CGAL_MODULES_DIR}/CGALConfig_binary_header_only.cmake.in"
|
configure_file("${CGAL_MODULES_DIR}/CGALConfig_binary_header_only.cmake.in"
|
||||||
"${CMAKE_BINARY_DIR}/CGALConfig.cmake" @ONLY)
|
"${CMAKE_BINARY_DIR}/CGALConfig.cmake" @ONLY)
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
#--------------------------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue