By default, CGAL_HEADER_ONLY is OFF.

This commit is contained in:
Guillaume Damiand 2016-07-04 10:40:04 +02:00
parent 280036e488
commit 46463202cb
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ include(GNUInstallDirs)
if(CMAKE_MAJOR_VERSION GREATER 2)
# 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.
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)
set(CGAL_HEADER_ONLY TRUE CACHE BOOL "Enable cgal header only" FORCE)