summaryrefslogtreecommitdiff
path: root/doc/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/CMakeLists.txt')
-rw-r--r--doc/CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index bb129415..a13eeb92 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -5,8 +5,14 @@
########################################################################
+cmake_minimum_required(VERSION 3.0)
+
+# Point CMake at any custom modules we may ship
+list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../cmake")
+include(LedgerVersion)
+
configure_file(
- ${PROJECT_SOURCE_DIR}/doc/version.texi.in
+ ${CMAKE_CURRENT_SOURCE_DIR}/version.texi.in
${PROJECT_BINARY_DIR}/doc/version.texi)
if (USE_DOXYGEN)