summaryrefslogtreecommitdiff
path: root/documentation/CMakeLists.txt
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2021-02-15 19:45:20 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2021-02-15 19:45:20 +0100
commitbbaec9bd88b309fbeec80d6d0118997f5b32def3 (patch)
treeabbf033c4d2afcd92b24a6719739e985c5ba8760 /documentation/CMakeLists.txt
parentedd5818355c37d5c68b88642b68dd61d302b3d38 (diff)
Update CMake and make files, minor edits only
There are no functional changes to be expected, mostly formatting and comments.
Diffstat (limited to 'documentation/CMakeLists.txt')
-rw-r--r--documentation/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/documentation/CMakeLists.txt b/documentation/CMakeLists.txt
index acbdc6aeb..1fa54e1a3 100644
--- a/documentation/CMakeLists.txt
+++ b/documentation/CMakeLists.txt
@@ -1,7 +1,7 @@
#
# CMakeLists.txt to build docs for the FLTK project using CMake (www.cmake.org)
#
-# Copyright 1998-2020 by Bill Spitzak and others.
+# Copyright 1998-2021 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
@@ -74,6 +74,7 @@ if (OPTION_BUILD_PDF_DOCUMENTATION)
# strip potential " (Git-hash)" from the original version
string (REGEX REPLACE " .*$" "" DOXY_VERSION ${DOXYGEN_VERSION})
+
execute_process (COMMAND date +%Y
OUTPUT_VARIABLE YEAR
)
@@ -84,6 +85,8 @@ if (OPTION_BUILD_PDF_DOCUMENTATION)
@ONLY
)
+ # generate LaTeX title fltk-title.tex
+
configure_file (
${CMAKE_CURRENT_SOURCE_DIR}/src/fltk-title.tex.in
${CMAKE_CURRENT_BINARY_DIR}/fltk-title.tex