From 0d6316b008c90cb3ce139fe126a518f1bdda93c5 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Mon, 4 Nov 2024 13:16:08 +0200 Subject: [PATCH] [CMAKE][LWIP] Fix build with newer CMake versions --- .../network/tcpip/lwip/src/Filelists.cmake | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/network/tcpip/lwip/src/Filelists.cmake b/drivers/network/tcpip/lwip/src/Filelists.cmake index 3a0430e457d..21bbddfb04c 100644 --- a/drivers/network/tcpip/lwip/src/Filelists.cmake +++ b/drivers/network/tcpip/lwip/src/Filelists.cmake @@ -262,19 +262,19 @@ set(DOXYGEN_IN ${LWIP_DIR}/doc/doxygen/lwip.Doxyfile.cmake.in) set(DOXYGEN_OUT ${LWIP_DIR}/doc/doxygen/lwip.Doxyfile) configure_file(${DOXYGEN_IN} ${DOXYGEN_OUT}) -find_package(Doxygen) -if (DOXYGEN_FOUND) - message(STATUS "Doxygen build started") - - add_custom_target(lwipdocs - COMMAND ${CMAKE_COMMAND} -E remove_directory ${DOXYGEN_DIR}/${DOXYGEN_OUTPUT_DIR}/html - COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_OUT} - WORKING_DIRECTORY ${DOXYGEN_DIR} - COMMENT "Generating API documentation with Doxygen" - VERBATIM) -else (DOXYGEN_FOUND) - message(STATUS "Doxygen needs to be installed to generate the doxygen documentation") -endif (DOXYGEN_FOUND) +#find_package(Doxygen) +#if (DOXYGEN_FOUND) +# message(STATUS "Doxygen build started") +# +# add_custom_target(lwipdocs +# COMMAND ${CMAKE_COMMAND} -E remove_directory ${DOXYGEN_DIR}/${DOXYGEN_OUTPUT_DIR}/html +# COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_OUT} +# WORKING_DIRECTORY ${DOXYGEN_DIR} +# COMMENT "Generating API documentation with Doxygen" +# VERBATIM) +#else (DOXYGEN_FOUND) +# message(STATUS "Doxygen needs to be installed to generate the doxygen documentation") +#endif (DOXYGEN_FOUND) # lwIP libraries add_library(lwipcore EXCLUDE_FROM_ALL ${lwipnoapps_SRCS})