neovim-0.9.5-cmake-darwin.patch 438 B

123456789101112131415
  1. --- a/src/nvim/CMakeLists.txt
  2. +++ b/src/nvim/CMakeLists.txt
  3. @@ -415,11 +415,7 @@ foreach(gen_include ${prop})
  4. list(APPEND gen_cflags "-I${gen_include}")
  5. endforeach()
  6. endforeach()
  7. -if(APPLE AND CMAKE_OSX_SYSROOT)
  8. - list(APPEND gen_cflags "-isysroot")
  9. - list(APPEND gen_cflags "${CMAKE_OSX_SYSROOT}")
  10. -endif()
  11. set(gen_cflags ${gen_cflags} -O2)
  12. set(NVIM_VERSION_GIT_H ${PROJECT_BINARY_DIR}/cmake.config/auto/versiondef_git.h)