mirror of https://github.com/CGAL/cgal
By default, CGAL_HEADER_ONLY is OFF.
This commit is contained in:
parent
280036e488
commit
46463202cb
|
|
@ -38,7 +38,7 @@ include(GNUInstallDirs)
|
||||||
if(CMAKE_MAJOR_VERSION GREATER 2)
|
if(CMAKE_MAJOR_VERSION GREATER 2)
|
||||||
# In header only mode, we use INTERFACE libraries, which was introduced in cmake 3.0.
|
# In header only mode, we use INTERFACE libraries, which was introduced in cmake 3.0.
|
||||||
# Thus this option is only enabled for cmake >= 3.0.
|
# Thus this option is only enabled for cmake >= 3.0.
|
||||||
option(CGAL_HEADER_ONLY "Enable the header only version of CGAL" ON )
|
option(CGAL_HEADER_ONLY "Enable the header only version of CGAL" OFF )
|
||||||
|
|
||||||
if (CGAL_HEADER_ONLY)
|
if (CGAL_HEADER_ONLY)
|
||||||
set(CGAL_HEADER_ONLY TRUE CACHE BOOL "Enable cgal header only" FORCE)
|
set(CGAL_HEADER_ONLY TRUE CACHE BOOL "Enable cgal header only" FORCE)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue