Try to fix Travis-CI CMake build

This commit is contained in:
Dirk Ziegelmeier 2018-10-12 22:06:10 +02:00
parent 6826130d6f
commit 1c5c2967e4

View File

@ -13,6 +13,7 @@ elseif(${CMAKE_SYSTEM_NAME} STREQUAL Linux OR ${CMAKE_SYSTEM_NAME} STREQUAL Darw
add_subdirectory(${LWIP_DIR}/contrib/ports/unix/example_app)
else()
message(WARNING "Host ${CMAKE_SYSTEM_NAME} is not supported to build example_app")
include(src/Filelists.cmake)
endif()
# Source package generation
@ -26,6 +27,5 @@ set(CPACK_SOURCE_PACKAGE_FILE_NAME "lwip-${LWIP_VERSION_MAJOR}.${LWIP_VERSION_MI
include(CPack)
# Target for package generation
include(src/Filelists.cmake)
add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)
add_dependencies(dist lwipdocs)