summaryrefslogtreecommitdiff
path: root/app-editors/neovim/files/neovim-9999-cmake-darwin.patch
blob: cba966a4ebfadf6803c6ad0660fed83bda93c38a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/src/nvim/CMakeLists.txt
+++ b/src/nvim/CMakeLists.txt
@@ -394,10 +394,6 @@ foreach(gen_include ${prop})
   list(APPEND gen_cflags "-I${gen_include}")
 endforeach()
 list(APPEND gen_cflags "-I${DEPS_PREFIX}/include")
-if(APPLE AND CMAKE_OSX_SYSROOT)
-  list(APPEND gen_cflags "-isysroot")
-  list(APPEND gen_cflags "${CMAKE_OSX_SYSROOT}")
-endif()
 set(gen_cflags ${gen_cflags} -O2)

 set(NVIM_VERSION_GIT_H ${PROJECT_BINARY_DIR}/cmake.config/auto/versiondef_git.h)