diff --git a/Installation/CMakeLists.txt b/Installation/CMakeLists.txt index b060a317381..9c92b6b92af 100644 --- a/Installation/CMakeLists.txt +++ b/Installation/CMakeLists.txt @@ -864,10 +864,8 @@ endif() if(NOT CGAL_HEADER_ONLY) create_CGALconfig_files() else() - if(NOT EXISTS "${CMAKE_BINARY_DIR}/CGALConfig.cmake") - configure_file("${CGAL_MODULES_DIR}/CGALConfig_binary_header_only.cmake.in" - "${CMAKE_BINARY_DIR}/CGALConfig.cmake" @ONLY) - endif() + configure_file("${CGAL_MODULES_DIR}/CGALConfig_binary_header_only.cmake.in" + "${CMAKE_BINARY_DIR}/CGALConfig.cmake" @ONLY) endif() #--------------------------------------------------------------------------------------------------