diff --git a/Installation/CMakeLists.txt b/Installation/CMakeLists.txt index a4703a381a5..2acb638c374 100644 --- a/Installation/CMakeLists.txt +++ b/Installation/CMakeLists.txt @@ -80,7 +80,7 @@ if ( RUNNING_CGAL_AUTO_TEST ) if ( EXISTS ${CGAL_REFERENCE_CACHE_DIR} ) if ( EXISTS ${CGAL_REFERENCE_CACHE_DIR}/CMakeCache.txt ) message( STATUS "Loading reference cache from ${CGAL_REFERENCE_CACHE_DIR}" ) - load_cache( ${CGAL_REFERENCE_CACHE_DIR} ) + load_cache( ${CGAL_REFERENCE_CACHE_DIR} EXCLUDE CGAL_Core_LIBRARY ) endif() endif() endif()