summaryrefslogtreecommitdiff
path: root/app-editors/neovim/files/neovim-9999-cmake-darwin.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-editors/neovim/files/neovim-9999-cmake-darwin.patch')
-rw-r--r--app-editors/neovim/files/neovim-9999-cmake-darwin.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/app-editors/neovim/files/neovim-9999-cmake-darwin.patch b/app-editors/neovim/files/neovim-9999-cmake-darwin.patch
index 892d349b7e1c..7d2352c6a18b 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 <mortezadadgar97@gmail.com>
--- 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)