From 1c1c9c6910622b366ae3f10768bd0e116cab2b97 Mon Sep 17 00:00:00 2001 From: raspopov Date: Wed, 1 Oct 2025 20:05:24 +0300 Subject: [PATCH] Fix Doxygen under Windows The CMakeLists.txt file calls Doxygen and redirects its output to /dev/null to suppress it. However, for Windows, you need to redirect it to "NUL:" otherwise, a build error will occur. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 76b23b06..5c5c6da7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -973,7 +973,7 @@ if(ENABLE_DOCS) # application add_custom_target( doc_doxygen ALL - COMMAND ${DOXYGEN_EXECUTABLE} -u > /dev/null 2>&1 + COMMAND ${DOXYGEN_EXECUTABLE} -u > $,NUL,/dev/null> 2>&1 COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_OUT} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Generating API documentation with Doxygen"