diff options
Diffstat (limited to 'app-editors/neovim/files/neovim-9999-cmake-darwin.patch')
-rw-r--r-- | app-editors/neovim/files/neovim-9999-cmake-darwin.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app-editors/neovim/files/neovim-9999-cmake-darwin.patch b/app-editors/neovim/files/neovim-9999-cmake-darwin.patch index cf3e05716625..571de0813ca6 100644 --- a/app-editors/neovim/files/neovim-9999-cmake-darwin.patch +++ b/app-editors/neovim/files/neovim-9999-cmake-darwin.patch @@ -26,7 +26,7 @@ - # Work around some old, broken detection by CMake for knowing when to use the - # isystem flag. Apple's compilers have supported this for quite some time - # now. -- if(CMAKE_COMPILER_IS_GNUCC) +- if(CMAKE_C_COMPILER_ID_MATCHES "GNU") - set(CMAKE_INCLUDE_SYSTEM_FLAG_C "-isystem ") - endif() -endif() |