diff --git a/contract-ut/CMakeLists.txt b/contract-ut/CMakeLists.txt index 50a039f..38d5a62 100644 --- a/contract-ut/CMakeLists.txt +++ b/contract-ut/CMakeLists.txt @@ -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} diff --git a/contract/CMakeLists.txt b/contract/CMakeLists.txt index 682c9f0..fe1333f 100644 --- a/contract/CMakeLists.txt +++ b/contract/CMakeLists.txt @@ -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}