diff --git a/app-editors/neovim/files/neovim-9999-cmake-darwin.patch b/app-editors/neovim/files/neovim-9999-cmake-darwin.patch index 892d349b7e1c3..7d2352c6a18b1 100644 --- a/app-editors/neovim/files/neovim-9999-cmake-darwin.patch +++ b/app-editors/neovim/files/neovim-9999-cmake-darwin.patch @@ -1,12 +1,12 @@ +Patch author: mortezadadgar --- a/src/nvim/CMakeLists.txt +++ b/src/nvim/CMakeLists.txt -@@ -416,10 +416,6 @@ foreach(target ${targets}) +@@ -477,9 +477,6 @@ foreach(target ${targets}) endforeach() endforeach() -if(APPLE AND CMAKE_OSX_SYSROOT) -- list(APPEND gen_cflags "-isysroot") -- list(APPEND gen_cflags "${CMAKE_OSX_SYSROOT}") +- list(APPEND gen_cflags "-isysroot" "${CMAKE_OSX_SYSROOT}") -endif() if(MSVC) list(APPEND gen_cflags -wd4003)