chore: fix partially renamed BUILD_DOXYGEN_DOC CMake option

This commit is contained in:
Stanislav Angelovič
2024-04-25 01:23:15 +02:00
parent b7d85f936d
commit e62472b210
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
find_package(Doxygen)
if(BUILD_DOXYGEN_DOC)
if(SDBUSCPP_BUILD_DOXYGEN_DOCS)
if(DOXYGEN_FOUND)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
@@ -27,7 +27,7 @@ if(SDBUSCPP_INSTALL)
using-sdbus-c++.md
DESTINATION ${CMAKE_INSTALL_DOCDIR} COMPONENT sdbus-c++-doc)
if (BUILD_DOXYGEN_DOC AND DOXYGEN_FOUND)
if (SDBUSCPP_BUILD_DOXYGEN_DOCS AND DOXYGEN_FOUND)
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html DESTINATION ${CMAKE_INSTALL_DOCDIR} OPTIONAL COMPONENT sdbus-c++-doc)
endif()
endif()