Skip to content

Commit f565154

Browse files
yardaeile
authored andcommitted
Allow override of COMMON_DOC_DIR
Fixes: #600 Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
1 parent 3cb7022 commit f565154

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Common.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ if(NOT TARGET ${PROJECT_NAME}-all)
129129
set_target_properties(${PROJECT_NAME}-all PROPERTIES FOLDER ${PROJECT_NAME})
130130
endif()
131131

132-
set(COMMON_DOC_DIR share/${PROJECT_NAME}/doc)
132+
set(COMMON_DOC_DIR share/${PROJECT_NAME}/doc CACHE PATH "DOC_DIR")
133133

134134
include(ChoosePython) # Must be before any find_package to python
135135
include(CommonFindPackage)

0 commit comments

Comments
 (0)