summaryrefslogtreecommitdiff
path: root/documentation/CMakeLists.txt
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2023-08-29 17:25:10 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2023-08-29 17:25:10 +0200
commitbe657471e761462d91c62e8cd00519e5dbda82a0 (patch)
tree2ce1193abce1c753aa3d452f3e41b86c53f592f5 /documentation/CMakeLists.txt
parentad5e49464b4ba5972d2dbce762b02009755338d6 (diff)
Documentation/PDF: always use the configured doxygen executable
... to create the LaTeX header file used by doxygen. This fix applies to both configure/make and CMake. The existing version used `doxygen` which erroneously ran the doxygen version from the current 'PATH' which might issue doxygen warnings and potentially create a wrong LaTeX header file if the configured doxygen program was not the one in the user's path.
Diffstat (limited to 'documentation/CMakeLists.txt')
-rw-r--r--documentation/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/documentation/CMakeLists.txt b/documentation/CMakeLists.txt
index e5d358e08..415e3e707 100644
--- a/documentation/CMakeLists.txt
+++ b/documentation/CMakeLists.txt
@@ -188,6 +188,7 @@ if (OPTION_BUILD_PDF_DOCUMENTATION)
add_custom_command (
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/fltk.pdf
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/make_header
+ ${DOXYGEN_EXECUTABLE}
${CMAKE_CURRENT_BINARY_DIR}/fltk-title.tex
${CMAKE_CURRENT_BINARY_DIR}/fltk-book.tex
COMMAND ${DOXYGEN_EXECUTABLE} Doxybook