mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-06-16 09:53:45 +08:00
CMake build system: It is now sufficient to set LWIP_DIR for build
This commit is contained in:
@@ -8,10 +8,8 @@ if (NOT CMAKE_SYSTEM_NAME STREQUAL Linux AND NOT CMAKE_SYSTEM_NAME STREQUAL GNU)
|
||||
message(FATAL_ERROR "Lwip shared library is only working on Linux or the Hurd")
|
||||
endif()
|
||||
|
||||
set(LWIP_CONTRIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../..)
|
||||
set(LWIP_DIR ${LWIP_CONTRIB_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
|
||||
|
||||
Reference in New Issue
Block a user