CMake build system: It is now sufficient to set LWIP_DIR for build

This commit is contained in:
Dirk Ziegelmeier
2018-10-02 12:54:56 +02:00
parent 4b672a1f3c
commit 04ff7926e7
5 changed files with 10 additions and 16 deletions

View File

@@ -4,10 +4,8 @@ project(example_app C)
set (CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(LWIP_CONTRIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../..)
set(LWIP_DIR ${LWIP_DIR}/..)
include(${LWIP_CONTRIB_DIR}/ports/CMakeCommon.cmake)
set(LWIP_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../../..)
include(${LWIP_DIR}/contrib/ports/CMakeCommon.cmake)
set (LWIP_DEFINITIONS -DLWIP_DEBUG)
set (LWIP_INCLUDE_DIRS