mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-18 13:39:05 +03:00
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.
This commit is contained in:
1 parent
8f9a73e397
commit
1c1c9c6910
1 file changed
+1
-1
+1
-1
@@ -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 > $<IF:$<PLATFORM_ID:Windows>,NUL,/dev/null> 2>&1
|
||||
COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_OUT}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Generating API documentation with Doxygen"
|
||||
|
||||
Reference in new issue
Block a user