mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-27 06:14:09 +00:00
Revert a change that was made for old cmake version
Lets see if it works now on travis...
This commit is contained in:
parent
2e51e0dc81
commit
95eada2119
@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 3.7)
|
cmake_minimum_required(VERSION 3.10)
|
||||||
|
|
||||||
project(lwIP)
|
project(lwIP)
|
||||||
|
|
||||||
@ -13,7 +13,6 @@ elseif(${CMAKE_SYSTEM_NAME} STREQUAL Linux OR ${CMAKE_SYSTEM_NAME} STREQUAL Darw
|
|||||||
add_subdirectory(${LWIP_DIR}/contrib/ports/unix/example_app)
|
add_subdirectory(${LWIP_DIR}/contrib/ports/unix/example_app)
|
||||||
else()
|
else()
|
||||||
message(WARNING "Host ${CMAKE_SYSTEM_NAME} is not supported to build example_app")
|
message(WARNING "Host ${CMAKE_SYSTEM_NAME} is not supported to build example_app")
|
||||||
include(src/Filelists.cmake)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Source package generation
|
# Source package generation
|
||||||
@ -26,6 +25,6 @@ set(CPACK_SOURCE_IGNORE_FILES "/build/;${CPACK_SOURCE_IGNORE_FILES};.git")
|
|||||||
set(CPACK_SOURCE_PACKAGE_FILE_NAME "lwip-${LWIP_VERSION_MAJOR}.${LWIP_VERSION_MINOR}.${LWIP_VERSION_REVISION}")
|
set(CPACK_SOURCE_PACKAGE_FILE_NAME "lwip-${LWIP_VERSION_MAJOR}.${LWIP_VERSION_MINOR}.${LWIP_VERSION_REVISION}")
|
||||||
include(CPack)
|
include(CPack)
|
||||||
|
|
||||||
# Target for package generation
|
# Generate docs before creating source package
|
||||||
add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)
|
include(src/Filelists.cmake)
|
||||||
#add_dependencies(dist lwipdocs)
|
add_dependencies(package_source lwipdocs)
|
||||||
|
Loading…
Reference in New Issue
Block a user