Skip to content

Commit

Permalink
fix: only add doxygen doc target if ASAP_BUILD_DOCS is ON
Browse files Browse the repository at this point in the history
  • Loading branch information
abdes committed Oct 22, 2024
1 parent dbd8765 commit ae77544
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contract-ut/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ endif()
# API Documentation
# ------------------------------------------------------------------------------

if(ASAP_WITH_DOXYGEN)
if(ASAP_BUILD_DOCS AND ASAP_WITH_DOXYGEN)
asap_with_doxygen(
MODULE_NAME
${MODULE_TARGET_NAME}
Expand Down
2 changes: 1 addition & 1 deletion contract/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ endif()
# API Documentation
# ------------------------------------------------------------------------------

if(ASAP_WITH_DOXYGEN)
if(ASAP_BUILD_DOCS AND ASAP_WITH_DOXYGEN)
asap_with_doxygen(
MODULE_NAME
${MODULE_TARGET_NAME}
Expand Down

0 comments on commit ae77544

Please sign in to comment.