mirror of https://github.com/CGAL/cgal
Add a workaround in src/CMakeLists.txt, to avoid that a variable
WITH_CGAL_Core is copied from the reference cache, if Core is disabled (on 64bits platforms).
This commit is contained in:
parent
a12ef8ed3c
commit
4a3b9888d6
|
|
@ -11,6 +11,13 @@ macro( configure_component DIR COMPONENT )
|
|||
endif()
|
||||
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
|
||||
# can be configured.
|
||||
unset(WITH_CGAL_Core CACHE)
|
||||
endif()
|
||||
|
||||
if(NOT CGAL_NO_CORE)
|
||||
configure_component( CGALCore Core )
|
||||
endif(NOT CGAL_NO_CORE)
|
||||
|
|
|
|||
Loading…
Reference in New Issue