summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2020-02-14 15:23:53 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2020-02-14 15:23:53 +0100
commit2d2c2ff45e8dae3e0ca52dffdd2e19af505d5667 (patch)
treedbd08d2214660cbea500886e921d5a2e8e820253 /CMake
parent975acb32b699018603d0999b8d16330c2a33efca (diff)
CMake: set option to build docs (default): ON
This option does not build the documentation automatically, docs still must be built manually, e.g. 'make docs' or 'make html'.
Diffstat (limited to 'CMake')
-rw-r--r--CMake/options.cmake18
1 files changed, 9 insertions, 9 deletions
diff --git a/CMake/options.cmake b/CMake/options.cmake
index 1563540cd..94a211fd1 100644
--- a/CMake/options.cmake
+++ b/CMake/options.cmake
@@ -4,17 +4,17 @@
# Main CMakeLists.txt to build the FLTK project using CMake (www.cmake.org)
# Written by Michael Surette
#
-# Copyright 1998-2018 by Bill Spitzak and others.
+# Copyright 1998-2020 by Bill Spitzak and others.
#
# This library is free software. Distribution and use rights are outlined in
# the file "COPYING" which should have been included with this file. If this
# file is missing or damaged, see the license at:
#
-# http://www.fltk.org/COPYING.php
+# https://www.fltk.org/COPYING.php
#
# Please report all bugs and problems on the following page:
#
-# http://www.fltk.org/str.php
+# https://www.fltk.org/str.php
#
set (DEBUG_OPTIONS_CMAKE 0)
@@ -128,18 +128,18 @@ option(OPTION_PRINT_SUPPORT "allow print support" ON)
option(OPTION_FILESYSTEM_SUPPORT "allow file system support" ON)
#######################################################################
-if(DOXYGEN_FOUND)
- option(OPTION_BUILD_HTML_DOCUMENTATION "build html docs" OFF)
+if (DOXYGEN_FOUND)
+ option(OPTION_BUILD_HTML_DOCUMENTATION "build html docs" ON)
option(OPTION_INSTALL_HTML_DOCUMENTATION "install html docs" OFF)
option(OPTION_INCLUDE_DRIVER_DOCUMENTATION "include driver (developer) docs" OFF)
mark_as_advanced(OPTION_INCLUDE_DRIVER_DOCUMENTATION)
- if(LATEX_FOUND)
- option(OPTION_BUILD_PDF_DOCUMENTATION "build pdf docs" OFF)
+ if (LATEX_FOUND)
+ option(OPTION_BUILD_PDF_DOCUMENTATION "build pdf docs" ON)
option(OPTION_INSTALL_PDF_DOCUMENTATION "install pdf docs" OFF)
- endif(LATEX_FOUND)
-endif(DOXYGEN_FOUND)
+ endif (LATEX_FOUND)
+endif (DOXYGEN_FOUND)
if(OPTION_BUILD_HTML_DOCUMENTATION OR OPTION_BUILD_PDF_DOCUMENTATION)
add_subdirectory(documentation)