Give lwIP a top-level CMakeLists.txt

(as it is common in other projects)
This breaks iteropts.sh for now
This commit is contained in:
Dirk Ziegelmeier
2018-10-08 20:57:06 +02:00
parent abcf42b655
commit 2124becd04
5 changed files with 20 additions and 31 deletions

View File

@@ -13,12 +13,12 @@ if(EXISTS ${MBEDTLSDIR}/CMakeLists.txt)
# Prevent building MBEDTLS programs and tests
set(ENABLE_PROGRAMS OFF CACHE BOOL "")
set(ENABLE_TESTING OFF CACHE BOOL "")
# mbedtls uses cmake. Sweet!
add_subdirectory(${MBEDTLSDIR} mbedtls)
set (LWIP_MBEDTLS_DEFINITIONS
-DLWIP_HAVE_MBEDTLS=1
LWIP_HAVE_MBEDTLS=1
)
set (LWIP_MBEDTLS_INCLUDE_DIRS
${MBEDTLSDIR}/include