From d7b05b2802ffef5eb74010fa658b5052efd79701 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Fri, 28 May 2010 09:47:49 +0000 Subject: [PATCH] CMake's load_cache builtin command is rather dangerous. With the disabling of CGAL_Core on 64 bits platforms, the old libCGAL_Core.so from the reference platforms were somehow used and linked with binaries. This is an attempt to work around that issue. --- Installation/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()