mirror of https://github.com/CGAL/cgal
Quick fix for CGAL_ENABLE_PRECONFIG: hide it
If CGAL_ENABLE_PRECONFIG is set to OFF, currently the CMake configuration fails. That option is turned into an internal cache variable set to ON by default.
This commit is contained in:
parent
c61dccb5a5
commit
33af7ab5dc
|
|
@ -578,7 +578,12 @@ cache_set(CGAL_3RD_PARTY_LIBRARIES "" )
|
||||||
cache_set(CGAL_3RD_PARTY_LIBRARIES_DIRS "" )
|
cache_set(CGAL_3RD_PARTY_LIBRARIES_DIRS "" )
|
||||||
|
|
||||||
# default is on, but some use-cases need to set it to off, e.g., debian packages
|
# default is on, but some use-cases need to set it to off, e.g., debian packages
|
||||||
option( CGAL_ENABLE_PRECONFIG "Select to allow to preconfiguration of external libraries" ON)
|
## Laurent Rineau: hide this variable. Currently the configuration fails if
|
||||||
|
## it is set to false. (2012/08/16)
|
||||||
|
#option( CGAL_ENABLE_PRECONFIG "Select to allow to preconfiguration of external libraries" ON)
|
||||||
|
set( CGAL_ENABLE_PRECONFIG ON CACHE INTERNAL "Select to allow to use all preconfigured external libraries")
|
||||||
|
|
||||||
|
|
||||||
# additional info: some header files in CGAL add additional code if
|
# additional info: some header files in CGAL add additional code if
|
||||||
# certain optional libs are installed, and some examples/tests rely on
|
# certain optional libs are installed, and some examples/tests rely on
|
||||||
# this; e.g. in MPFI/RS in Algebraic_kernel_d. For these cases CGAL
|
# this; e.g. in MPFI/RS in Algebraic_kernel_d. For these cases CGAL
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue