CGAL_USE_GMPXX is only set by use_lib macro

This commit is contained in:
Eric Berberich 2012-01-11 00:00:05 +00:00
parent 809b15bef1
commit a42d72acaa
5 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@ message(STATUS "Configure libCGALCore")
use_lib( GMP "###")
use_lib( MPFR "###")
if (CGAL_USE_GMPXX)
if (FOUND_GMPXX)
use_lib( GMPXX "###")
endif()

View File

@ -62,7 +62,7 @@ if( QT4_FOUND )
use_lib( GMP "###")
use_lib( MPFR "###")
if (CGAL_USE_GMPXX)
if (FOUND_GMPXX)
use_lib( GMPXX "###")
endif()

View File

@ -4,7 +4,7 @@ collect_cgal_library(CGAL CGAL "")
use_lib( GMP "###")
use_lib( MPFR "###")
if (CGAL_USE_GMPXX)
if (FOUND_GMPXX)
use_lib( GMPXX "###")
endif()

View File

@ -36,7 +36,7 @@ endmacro()
if(COMMAND unset)
# Workaround: WITH_CGAL_Core can have been loaded from an old reference
# cache Then remove it from the cache, and re-add it only if CGAL_Core
# cache. Then remove it from the cache, and re-add it only if CGAL_Core
# can be configured.
unset(WITH_CGAL_Core CACHE)
endif()

View File

@ -35,7 +35,7 @@ if( QT3_FOUND )
use_lib( GMP "###")
use_lib( MPFR "###")
if (CGAL_USE_GMPXX)
if (FOUND_GMPXX)
use_lib( GMPXX "###")
endif()