Skip to content

Commit 0d6316b

Browse files
committed
[CMAKE][LWIP] Fix build with newer CMake versions
1 parent 9ccafe8 commit 0d6316b

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

drivers/network/tcpip/lwip/src/Filelists.cmake

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -262,19 +262,19 @@ set(DOXYGEN_IN ${LWIP_DIR}/doc/doxygen/lwip.Doxyfile.cmake.in)
262262
set(DOXYGEN_OUT ${LWIP_DIR}/doc/doxygen/lwip.Doxyfile)
263263
configure_file(${DOXYGEN_IN} ${DOXYGEN_OUT})
264264

265-
find_package(Doxygen)
266-
if (DOXYGEN_FOUND)
267-
message(STATUS "Doxygen build started")
268-
269-
add_custom_target(lwipdocs
270-
COMMAND ${CMAKE_COMMAND} -E remove_directory ${DOXYGEN_DIR}/${DOXYGEN_OUTPUT_DIR}/html
271-
COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_OUT}
272-
WORKING_DIRECTORY ${DOXYGEN_DIR}
273-
COMMENT "Generating API documentation with Doxygen"
274-
VERBATIM)
275-
else (DOXYGEN_FOUND)
276-
message(STATUS "Doxygen needs to be installed to generate the doxygen documentation")
277-
endif (DOXYGEN_FOUND)
265+
#find_package(Doxygen)
266+
#if (DOXYGEN_FOUND)
267+
# message(STATUS "Doxygen build started")
268+
#
269+
# add_custom_target(lwipdocs
270+
# COMMAND ${CMAKE_COMMAND} -E remove_directory ${DOXYGEN_DIR}/${DOXYGEN_OUTPUT_DIR}/html
271+
# COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_OUT}
272+
# WORKING_DIRECTORY ${DOXYGEN_DIR}
273+
# COMMENT "Generating API documentation with Doxygen"
274+
# VERBATIM)
275+
#else (DOXYGEN_FOUND)
276+
# message(STATUS "Doxygen needs to be installed to generate the doxygen documentation")
277+
#endif (DOXYGEN_FOUND)
278278

279279
# lwIP libraries
280280
add_library(lwipcore EXCLUDE_FROM_ALL ${lwipnoapps_SRCS})

0 commit comments

Comments
 (0)