Skip to content

Commit

Permalink
Allow override of COMMON_DOC_DIR
Browse files Browse the repository at this point in the history
Fixes: #600

Signed-off-by: Jaroslav Škarvada <[email protected]>
  • Loading branch information
yarda authored and eile committed Aug 25, 2021
1 parent 3cb7022 commit f565154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f565154

Please sign in to comment.