From cbc9993b502a21388eac7218b105b60a8a71150c Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Mon, 20 Mar 2023 21:23:28 +0100 Subject: docs: Enable stand-alone building --- doc/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc/CMakeLists.txt') diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index a13eeb92..08132224 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -7,13 +7,15 @@ cmake_minimum_required(VERSION 3.0) +project(ledger NONE) + # Point CMake at any custom modules we may ship -list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../cmake") +list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}") include(LedgerVersion) configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/version.texi.in - ${PROJECT_BINARY_DIR}/doc/version.texi) + ${CMAKE_CURRENT_SOURCE_DIR}/version.texi) if (USE_DOXYGEN) find_package(Doxygen) -- cgit v1.2.3