mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
[CMAKE][LWIP] Fix build with newer CMake versions
This commit is contained in:
parent
9ccafe8e49
commit
0d6316b008
1 changed files with 13 additions and 13 deletions
|
@ -262,19 +262,19 @@ set(DOXYGEN_IN ${LWIP_DIR}/doc/doxygen/lwip.Doxyfile.cmake.in)
|
||||||
set(DOXYGEN_OUT ${LWIP_DIR}/doc/doxygen/lwip.Doxyfile)
|
set(DOXYGEN_OUT ${LWIP_DIR}/doc/doxygen/lwip.Doxyfile)
|
||||||
configure_file(${DOXYGEN_IN} ${DOXYGEN_OUT})
|
configure_file(${DOXYGEN_IN} ${DOXYGEN_OUT})
|
||||||
|
|
||||||
find_package(Doxygen)
|
#find_package(Doxygen)
|
||||||
if (DOXYGEN_FOUND)
|
#if (DOXYGEN_FOUND)
|
||||||
message(STATUS "Doxygen build started")
|
# message(STATUS "Doxygen build started")
|
||||||
|
#
|
||||||
add_custom_target(lwipdocs
|
# add_custom_target(lwipdocs
|
||||||
COMMAND ${CMAKE_COMMAND} -E remove_directory ${DOXYGEN_DIR}/${DOXYGEN_OUTPUT_DIR}/html
|
# COMMAND ${CMAKE_COMMAND} -E remove_directory ${DOXYGEN_DIR}/${DOXYGEN_OUTPUT_DIR}/html
|
||||||
COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_OUT}
|
# COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_OUT}
|
||||||
WORKING_DIRECTORY ${DOXYGEN_DIR}
|
# WORKING_DIRECTORY ${DOXYGEN_DIR}
|
||||||
COMMENT "Generating API documentation with Doxygen"
|
# COMMENT "Generating API documentation with Doxygen"
|
||||||
VERBATIM)
|
# VERBATIM)
|
||||||
else (DOXYGEN_FOUND)
|
#else (DOXYGEN_FOUND)
|
||||||
message(STATUS "Doxygen needs to be installed to generate the doxygen documentation")
|
# message(STATUS "Doxygen needs to be installed to generate the doxygen documentation")
|
||||||
endif (DOXYGEN_FOUND)
|
#endif (DOXYGEN_FOUND)
|
||||||
|
|
||||||
# lwIP libraries
|
# lwIP libraries
|
||||||
add_library(lwipcore EXCLUDE_FROM_ALL ${lwipnoapps_SRCS})
|
add_library(lwipcore EXCLUDE_FROM_ALL ${lwipnoapps_SRCS})
|
||||||
|
|
Loading…
Reference in a new issue