Minor cmake code cleanp

This commit is contained in:
Dirk Ziegelmeier 2018-10-05 08:04:22 +02:00
parent d9c9b55766
commit 67d4fc9ff0
2 changed files with 2 additions and 2 deletions

View File

@ -4,8 +4,8 @@ set(LWIP_CONTRIB_DIR ${LWIP_DIR}/contrib)
# ARM mbedtls support https://tls.mbed.org/
if(NOT DEFINED MBEDTLSDIR)
message(STATUS "MBEDTLSDIR not set - using default location ${LWIP_DIR}/../mbedtls")
set(MBEDTLSDIR ${LWIP_DIR}/../mbedtls)
message(STATUS "MBEDTLSDIR not set - using default location ${MBEDTLSDIR}")
endif()
if(EXISTS ${MBEDTLSDIR}/CMakeLists.txt)
set(LWIP_HAVE_MBEDTLS ON BOOL)

View File

@ -19,8 +19,8 @@ set(lwipcontribportwindows_SRCS
# pcapif needs WinPcap developer package: https://www.winpcap.org/devel.htm
if(NOT DEFINED WPDPACK_DIR)
message(STATUS "WPDPACK_DIR not set - using default location ${LWIP_DIR}/../WpdPack")
set(WPDPACK_DIR ${LWIP_DIR}/../WpdPack)
message(STATUS "WPDPACK_DIR not set - using default location ${WPDPACK_DIR}")
endif()
find_library(WPCAP wpcap HINTS ${WPDPACK_DIR}/lib)
find_library(PACKET packet HINTS ${WPDPACK_DIR}/lib)