mirror of https://github.com/CGAL/cgal
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.
This commit is contained in:
parent
2d24384dc9
commit
d7b05b2802
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue