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:
parent
9e54390cda
commit
38a84d2b9f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user