mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 00:14:02 +00:00
get cmake to compile under windows with ms cl compiler
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
This commit is contained in:
parent
eaf4926239
commit
3fe8d2fc43
@ -122,7 +122,7 @@ if(CMAKE_C_COMPILER_ID STREQUAL "MSVC")
|
||||
set(LWIP_COMPILER_FLAGS
|
||||
$<$<CONFIG:Debug>:/Od>
|
||||
$<$<CONFIG:Release>:/Ox>
|
||||
/Wall
|
||||
/W4
|
||||
/WX
|
||||
)
|
||||
endif()
|
||||
|
@ -30,8 +30,8 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
|
||||
else()
|
||||
set(WPDPACK_LIB_DIR ${WPDPACK_DIR}/lib)
|
||||
endif()
|
||||
set(WPCAP ${WPDPACK_DIR}/lib/x64/wpcap.lib)
|
||||
set(PACKET ${WPDPACK_DIR}/lib/x64/packet.lib)
|
||||
set(WPCAP ${WPDPACK_LIB_DIR}/wpcap.lib)
|
||||
set(PACKET ${WPDPACK_LIB_DIR}/packet.lib)
|
||||
else()
|
||||
find_library(WPCAP wpcap HINTS ${WPDPACK_DIR}/lib/x64)
|
||||
find_library(PACKET packet HINTS ${WPDPACK_DIR}/lib/x64)
|
||||
|
Loading…
Reference in New Issue
Block a user