Merge pull request #882 from cehoffman/patch-1

Always use python_finder on install
This commit is contained in:
Val Markovic 2014-03-19 15:20:09 -07:00
commit 80b4647009

View File

@ -74,11 +74,7 @@ function install {
build_dir=`mktemp -d -t ycm_build.XXXXXX` build_dir=`mktemp -d -t ycm_build.XXXXXX`
pushd $build_dir pushd $build_dir
if [[ `uname -s` == "Darwin" ]]; then
cmake -G "Unix Makefiles" $(python_finder) "$@" . $ycm_dir/cpp cmake -G "Unix Makefiles" $(python_finder) "$@" . $ycm_dir/cpp
else
cmake -G "Unix Makefiles" "$@" . $ycm_dir/cpp
fi
make -j $(num_cores) ycm_support_libs make -j $(num_cores) ycm_support_libs
popd popd