summaryrefslogtreecommitdiff
path: root/documentation/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/CMakeLists.txt')
-rw-r--r--documentation/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/documentation/CMakeLists.txt b/documentation/CMakeLists.txt
index 6cd1d1462..3dc9fbd1b 100644
--- a/documentation/CMakeLists.txt
+++ b/documentation/CMakeLists.txt
@@ -56,6 +56,13 @@ if(GENERATE_DOCS)
string(REGEX REPLACE " .*$" "" DOXYGEN_VERSION_SHORT ${DOXYGEN_VERSION})
endif(DOXYGEN_FOUND)
+ # configure version.dox (includes the bare FLTK version number)
+ configure_file(
+ ${CMAKE_CURRENT_SOURCE_DIR}/version.dox.in
+ ${CMAKE_CURRENT_BINARY_DIR}/version.dox
+ @ONLY
+ )
+
# configure copyright.dox (includes current year)
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/copyright.dox.in