summaryrefslogtreecommitdiff
path: root/documentation/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/CMakeLists.txt')
-rw-r--r--documentation/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/documentation/CMakeLists.txt b/documentation/CMakeLists.txt
index 150771a0d..f93d0cba5 100644
--- a/documentation/CMakeLists.txt
+++ b/documentation/CMakeLists.txt
@@ -161,6 +161,12 @@ if(FLTK_BUILD_PDF_DOCS)
# convert Doxybook to current doxygen version
+ # set DOXY_VERSION for compatibility with configure/make,
+ # to be replaced in fltk-title.tex.in
+ # FIXME: this can be simplified when configure/make is no longer supported
+
+ set(DOXY_VERSION "${DOXYGEN_VERSION_SHORT}") #
+
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${DOXYFILE}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}