Revert "Always use python_finder on install"

This reverts commit 38a84d2b9f.
This commit is contained in:
Strahinja Val Markovic 2014-03-19 15:24:35 -07:00
parent 80b4647009
commit 28663c191d

View File

@ -74,7 +74,11 @@ 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