Skip to content

Commit

Permalink
upadte CMAKEDOC_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
mmertama committed Dec 22, 2024
1 parent d2527bd commit 37a4514
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gempyrelib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,8 @@ if(PEDANTIC_WARNINGS)
endif()

if(DOXYGEN)
cmake_path(ABSOLUTE_PATH CMAKEDOC_DIR NORMALIZE OUTPUT_VARIABLE CD_DIR)
if (EXISTS "${CD_DIR}")
if (DEFINED CMAKEDOC_DIR)
cmake_path(ABSOLUTE_PATH CMAKEDOC_DIR NORMALIZE OUTPUT_VARIABLE CD_DIR)
message("Using local Cmakedoc ${CD_DIR}")
include("${CD_DIR}/cmakedoc.cmake")
else()
Expand Down

0 comments on commit 37a4514

Please sign in to comment.