parent
93e9da2085
commit
af1f02d99d
|
@ -27,7 +27,7 @@ include(${LWIP_LINUX_DIR}/Filelists.cmake)
|
||||||
|
|
||||||
include_directories(${LWIP_DIR}/../libs/include ${LWIP_DIR}/../include)
|
include_directories(${LWIP_DIR}/../libs/include ${LWIP_DIR}/../include)
|
||||||
|
|
||||||
add_library(${LWIP_LIB_NAME} ${lwipnoapps_SRCS} ${lwipcontribportunix_SRCS} ${lwipcontribportunixnetifs_SRCS})
|
add_library(${LWIP_LIB_NAME} STATIC ${lwipnoapps_SRCS} ${lwipcontribportunix_SRCS} ${lwipcontribportunixnetifs_SRCS})
|
||||||
target_compile_options(${LWIP_LIB_NAME} PRIVATE ${LWIP_COMPILER_FLAGS})
|
target_compile_options(${LWIP_LIB_NAME} PRIVATE ${LWIP_COMPILER_FLAGS})
|
||||||
target_compile_definitions(${LWIP_LIB_NAME} PRIVATE ${LWIP_DEFINITIONS} ${LWIP_MBEDTLS_DEFINITIONS})
|
target_compile_definitions(${LWIP_LIB_NAME} PRIVATE ${LWIP_DEFINITIONS} ${LWIP_MBEDTLS_DEFINITIONS})
|
||||||
target_include_directories(${LWIP_LIB_NAME} PRIVATE ${LWIP_INCLUDE_DIRS} ${LWIP_MBEDTLS_INCLUDE_DIRS})
|
target_include_directories(${LWIP_LIB_NAME} PRIVATE ${LWIP_INCLUDE_DIRS} ${LWIP_MBEDTLS_INCLUDE_DIRS})
|
||||||
|
|
Loading…
Reference in New Issue