mirror of
https://github.com/neovim/neovim.git
synced 2026-01-25 22:51:14 +10:00
homebrew: use Makefile-defined defaults. #1259
Assuming homebrew always uses a clean workspace, a separate "cmake" step is not necessary.
This commit is contained in:
committed by
Justin M. Keyes
parent
04b298ee75
commit
644da5a43e
@@ -11,8 +11,6 @@ class Neovim < Formula
|
||||
|
||||
def install
|
||||
ENV.deparallelize
|
||||
system "make", "deps"
|
||||
system "cmake", "-DCMAKE_BUILD_TYPE=Debug", "-DCMAKE_PREFIX_PATH=.deps/usr", "-DLibUV_USE_STATIC=YES", "-DCMAKE_INSTALL_PREFIX:PATH=#{prefix}"
|
||||
system "make", "install"
|
||||
system "make", "CMAKE_EXTRA_FLAGS=\"-DCMAKE_PREFIX_PATH=#{prefix}\"", "install"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user