Skip to content

Commit

Permalink
Fix doxygen variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
pfultz2 committed Sep 7, 2023
1 parent a83ffe0 commit 99ab7b4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions share/rocm/cmake/ROCMSphinxDoc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ function(rocm_add_sphinx_doc SRC_DIR)
list(APPEND VARS -A "${VAR}")
endforeach()

if(PARSE_USES_DOXYGEN)
set(USES_DOXYGEN -D "doxygen_executable=${DOXYGEN_EXECUTABLE}")
if(PARSE_USE_DOXYGEN)
set(USE_DOXYGEN -D "doxygen_executable=${DOXYGEN_EXECUTABLE}")
else()
set(USES_DOXYGEN)
set(USE_DOXYGEN)
endif()

if(NOT TARGET sphinx-${BUILDER})
Expand All @@ -76,7 +76,7 @@ function(rocm_add_sphinx_doc SRC_DIR)
"${SPHINX_EXECUTABLE}"
-b ${PARSE_BUILDER}
-d "${CMAKE_CURRENT_BINARY_DIR}/doctrees"
${USES_DOXYGEN}
${USE_DOXYGEN}
${VARS}
"${SRC_DIR}"
"${OUTPUT_DIR}"
Expand Down

0 comments on commit 99ab7b4

Please sign in to comment.