mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-26 09:35:23 +00:00
Fix MSVC optimization flags
This commit is contained in:
parent
781a4ccb62
commit
0df4109074
@ -120,8 +120,8 @@ endif()
|
|||||||
|
|
||||||
if(CMAKE_C_COMPILER_ID STREQUAL "MSVC")
|
if(CMAKE_C_COMPILER_ID STREQUAL "MSVC")
|
||||||
set(LWIP_COMPILER_FLAGS
|
set(LWIP_COMPILER_FLAGS
|
||||||
$<$<CONFIG:Debug>:/O0>
|
$<$<CONFIG:Debug>:/Od>
|
||||||
$<$<CONFIG:Release>:/O2>
|
$<$<CONFIG:Release>:/Ox>
|
||||||
/Wall
|
/Wall
|
||||||
/WX
|
/WX
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user