Only use python_finder on OSX.
This commit is contained in:
parent
e5b9ffb637
commit
8bc9073ef1
@ -50,8 +50,14 @@ function install {
|
||||
ycm_dir=`pwd`
|
||||
build_dir=`mktemp -d -t ycm_build.XXXX`
|
||||
pushd $build_dir
|
||||
|
||||
if [[ `uname -s` == "Darwin" ]]; then
|
||||
cmake -G "Unix Makefiles" $(python_finder) $1 . $ycm_dir/cpp
|
||||
make ycm_core
|
||||
else
|
||||
cmake -G "Unix Makefiles" $1 . $ycm_dir/cpp
|
||||
fi
|
||||
|
||||
#make ycm_core
|
||||
popd
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user