From b79bf2799619f013cdfa7e4ddbf0757abfba9323 Mon Sep 17 00:00:00 2001 From: Illia Silin <98187287+illsilin@users.noreply.github.com> Date: Tue, 5 Sep 2023 14:29:37 -0700 Subject: [PATCH] set warnings as errors in doxygen (#864) [ROCm/composable_kernel commit: aae4df559615e611bafd5850be5168287d97edd9] --- cmake/DoxygenDoc.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/DoxygenDoc.cmake b/cmake/DoxygenDoc.cmake index 2e3669fcdf..c91308b5bb 100644 --- a/cmake/DoxygenDoc.cmake +++ b/cmake/DoxygenDoc.cmake @@ -309,6 +309,8 @@ XML_OUTPUT XML_PROGRAMLISTING ) +set(WARN_AS_ERROR YES) + set(DOXYGEN_CONFIG_FILE "${CMAKE_CURRENT_BINARY_DIR}/doxygen/doxygen.conf" CACHE PATH "Path to generated doxygen configuration file") function(add_doxygen_doc)