diff --git a/CMakeLists.txt b/CMakeLists.txt index 103252d33c9..1ecf995c95c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -939,7 +939,7 @@ if (HDF5_BUILD_DOC AND EXISTS "${HDF5_DOXYGEN_DIR}" AND IS_DIRECTORY "${HDF5_DOX find_package(Doxygen) if (DOXYGEN_FOUND) option (HDF5_ENABLE_DOXY_WARNINGS "Enable fail if doxygen parsing has warnings." ON) - mark_as_advanced (HDF5_USE_FOLDERS) + mark_as_advanced (HDF5_ENABLE_DOXY_WARNINGS) if (HDF5_ENABLE_DOXY_WARNINGS) set (HDF5_DOXY_WARNINGS "FAIL_ON_WARNINGS") else ()