mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-08 00:23:39 +08:00
Work on fixing the build (integration of contrib)
This commit is contained in:
@@ -16,7 +16,7 @@ set(lwipcontribportwindows_SRCS
|
||||
)
|
||||
|
||||
# pcapif needs WinPcap developer package: https://www.winpcap.org/devel.htm
|
||||
set(WPDPACK_DIR ${LWIP_CONTRIB_DIR}/../WpdPack)
|
||||
set(WPDPACK_DIR ${LWIP_DIR}/../WpdPack)
|
||||
find_library(WPCAP wpcap HINTS ${WPDPACK_DIR}/lib)
|
||||
find_library(PACKET packet HINTS ${WPDPACK_DIR}/lib)
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ project(example_app C)
|
||||
set (CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
set(LWIP_CONTRIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../..)
|
||||
set(LWIP_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../../../lwip)
|
||||
set(LWIP_DIR ${LWIP_CONTRIB_DIR}/..)
|
||||
|
||||
include(${LWIP_CONTRIB_DIR}/ports/CMakeCommon.cmake)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user