GMP/MPFR without auto-link is now the default under Windows. Auto-link is

for only CGAL libraries, Boost libraries, and Blas/Lapack/TAUCS (when
needed).
This commit is contained in:
Laurent Rineau 2010-08-09 14:02:11 +00:00
parent 2452cea0d0
commit ee31e79906
1 changed files with 5 additions and 11 deletions

View File

@ -8,19 +8,13 @@ if ( NOT CGAL_GENERATOR_SPECIFIC_SETTINGS_FILE_INCLUDED )
set(CGAL_AUTO_LINK_ENABLED TRUE)
if(NOT CGAL_CONFIG_LOADED)
if(MSVC10)
set(CGAL_AUTO_LINK_GMP FALSE
CACHE BOOL "Enable/Disable auto-linking for the external library GMP")
set(CGAL_AUTO_LINK_GMP FALSE
CACHE BOOL "Enable/Disable auto-linking for the external library GMP")
set(CGAL_AUTO_LINK_MPFR FALSE
CACHE BOOL "Enable/Disable auto-linking for the external library MPFR")
else(MSVC10)
set(CGAL_AUTO_LINK_GMP TRUE
CACHE BOOL "Enable/Disable auto-linking for the external library GMP")
set(CGAL_AUTO_LINK_MPFR FALSE
CACHE BOOL "Enable/Disable auto-linking for the external library MPFR")
set(CGAL_AUTO_LINK_MPFR TRUE
CACHE BOOL "Enable/Disable auto-linking for the external library MPFR")
endif(MSVC10)
mark_as_advanced(CGAL_AUTO_LINK_MPFR CGAL_AUTO_LINK_GMP)
endif()
endif()