get cmake to compile under windows with ms cl compiler

Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
This commit is contained in:
Simon Goldschmidt
2023-01-03 21:34:05 +01:00
parent eaf4926239
commit 3fe8d2fc43
2 changed files with 3 additions and 3 deletions

View File

@@ -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()