mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
MSVC: Don't use GCC -O/-g flags. #3267
This commit is contained in:
parent
acdac914d5
commit
9bc1b78058
@ -161,7 +161,7 @@ endif()
|
||||
if(HAS_OG_FLAG)
|
||||
set(CMAKE_C_FLAGS_RELWITHDEBINFO "-Og -g"
|
||||
CACHE STRING "Flags used by the compiler during release builds with debug info." FORCE)
|
||||
else()
|
||||
elseif(NOT MSVC)
|
||||
set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g"
|
||||
CACHE STRING "Flags used by the compiler during release builds with debug info." FORCE)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user