From 31dbc5722c66590dd85ea80723a0c37c90f9db44 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Sat, 13 Oct 2018 10:54:54 +0200 Subject: [PATCH] Another try to get CMake run on travis --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d7df8e7f..7ffcfba6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,8 +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() +endif() # Source package generation set(CPACK_SOURCE_GENERATOR "ZIP") @@ -27,5 +26,6 @@ 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)