Hide the CMake option we added for "step 1"

This commit is contained in:
Clement Jamin 2017-03-29 12:35:51 +02:00 committed by Laurent Rineau
parent 10aa5b5420
commit abd9616231
1 changed files with 0 additions and 1 deletions

View File

@ -51,7 +51,6 @@ 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" OFF )
if (CGAL_HEADER_ONLY OR CGAL_HEADER_ONLY_STEP_2)
set(CGAL_HEADER_ONLY TRUE CACHE BOOL "Enable cgal header only" FORCE)