Always use python_finder on install

When using something like [pyenv](yyuu/pyenv) cmake fails to find the python library.
This commit is contained in:
Chris Hoffman 2014-03-12 20:23:14 -05:00
parent 9e54390cda
commit 38a84d2b9f

View File

@ -74,11 +74,7 @@ function install {
build_dir=`mktemp -d -t ycm_build.XXXXXX`
pushd $build_dir
if [[ `uname -s` == "Darwin" ]]; then
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
popd