Fix for testsuite

One does not want to load some CGAL_*_DIR variables from the reference
cache.
This commit is contained in:
Laurent Rineau 2011-10-28 12:17:37 +00:00
parent 93afae314f
commit 3adb7877d3
1 changed files with 9 additions and 1 deletions

View File

@ -311,7 +311,15 @@ 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} EXCLUDE CGAL_Core_LIBRARY )
load_cache( ${CGAL_REFERENCE_CACHE_DIR}
EXCLUDE CGAL_Core_LIBRARY
CGAL_CORE_PACKAGE_DIR
CGAL_INSTALLATION_PACKAGE_DIR
CGAL_MAINTENANCE_PACKAGE_DIR
CGAL_PDB_BINARY_DIR
CGAL_PDB_SOURCE_DIR
CGAL_Qt3_SOURCE_DIR
CGAL_SOURCE_DIR)
endif()
endif()
endif()