mirror of
https://github.com/neovim/neovim
synced 2025-07-15 16:51:49 +00:00
build: disable all compiler warnings from dependencies
This commit is contained in:
@ -18,6 +18,12 @@ if(APPLE)
|
||||
list(APPEND DEPS_CMAKE_ARGS -D CMAKE_FIND_FRAMEWORK=${CMAKE_FIND_FRAMEWORK})
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
list(APPEND DEPS_CMAKE_ARGS -D CMAKE_C_FLAGS="/w")
|
||||
else()
|
||||
list(APPEND DEPS_CMAKE_ARGS -D CMAKE_C_FLAGS="-w")
|
||||
endif()
|
||||
|
||||
set(DEPS_CMAKE_CACHE_ARGS -DCMAKE_OSX_ARCHITECTURES:STRING=${CMAKE_OSX_ARCHITECTURES})
|
||||
|
||||
# MAKE_PRG
|
||||
|
Reference in New Issue
Block a user