From f5651546b0d3036cebb61cea1293d2b3f1bedb2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Wed, 16 Jun 2021 02:05:30 +0200 Subject: [PATCH] Allow override of COMMON_DOC_DIR MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: #600 Signed-off-by: Jaroslav Škarvada --- Common.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common.cmake b/Common.cmake index 2a84eb7..7fb87e5 100644 --- a/Common.cmake +++ b/Common.cmake @@ -129,7 +129,7 @@ if(NOT TARGET ${PROJECT_NAME}-all) set_target_properties(${PROJECT_NAME}-all PROPERTIES FOLDER ${PROJECT_NAME}) endif() -set(COMMON_DOC_DIR share/${PROJECT_NAME}/doc) +set(COMMON_DOC_DIR share/${PROJECT_NAME}/doc CACHE PATH "DOC_DIR") include(ChoosePython) # Must be before any find_package to python include(CommonFindPackage)