mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-24 15:14:06 +00:00
Minor cmake code cleanp
This commit is contained in:
parent
d9c9b55766
commit
67d4fc9ff0
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user