Remove remaining WITH_GMPXX in list

This commit is contained in:
Maxime Gimeno 2019-12-16 09:37:52 +01:00
parent 0783723f47
commit c7c35c24f7
1 changed files with 0 additions and 7 deletions

View File

@ -568,10 +568,6 @@ message("== Detect external libraries ==")
# Coin is used in KDS, but no FindCoin or FindCOIN exists # Coin is used in KDS, but no FindCoin or FindCOIN exists
# There exists FindIPE, FindMKL, but they are only used to support supporting libs # There exists FindIPE, FindMKL, but they are only used to support supporting libs
list (INSERT CGAL_SUPPORTING_3RD_PARTY_LIBRARIES 0 GMP MPFR ZLIB OpenGL LEDA MPFI RS RS3 OpenNL Eigen3 ESBTL Coin3D NTL IPE) list (INSERT CGAL_SUPPORTING_3RD_PARTY_LIBRARIES 0 GMP MPFR ZLIB OpenGL LEDA MPFI RS RS3 OpenNL Eigen3 ESBTL Coin3D NTL IPE)
if (NOT WIN32)
# GMPXX is not supported on WIN32 machines
list (INSERT CGAL_SUPPORTING_3RD_PARTY_LIBRARIES 1 GMPXX)
endif()
# Where CMake is run several times, to avoid duplicates # Where CMake is run several times, to avoid duplicates
list(REMOVE_DUPLICATES CGAL_SUPPORTING_3RD_PARTY_LIBRARIES) list(REMOVE_DUPLICATES CGAL_SUPPORTING_3RD_PARTY_LIBRARIES)
@ -611,8 +607,6 @@ if(CGAL_DISABLE_GMP)
unset(WITH_GMP CACHE) unset(WITH_GMP CACHE)
unset(CGAL_USE_GMP) unset(CGAL_USE_GMP)
unset(CGAL_USE_GMP CACHE) unset(CGAL_USE_GMP CACHE)
unset(WITH_GMPXX)
unset(WITH_GMPXX CACHE)
unset(WITH_MPFR) unset(WITH_MPFR)
unset(WITH_MPFR CACHE) unset(WITH_MPFR CACHE)
@ -643,7 +637,6 @@ foreach (lib ${CGAL_SUPPORTING_3RD_PARTY_LIBRARIES})
option(WITH_${lib} "Select external library ${lib}" ON) option(WITH_${lib} "Select external library ${lib}" ON)
else() else()
option(WITH_${lib} "Select external library ${lib}" OFF) option(WITH_${lib} "Select external library ${lib}" OFF)
else() #GMPXX set in CGAL_SetupGMP.cmake
endif() endif()
endforeach() endforeach()