Skip to content

Commit

Permalink
Only use python_finder on OSX.
Browse files Browse the repository at this point in the history
  • Loading branch information
xgalaxy committed Feb 17, 2013
1 parent e5b9ffb commit 8bc9073
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,14 @@ function install {
ycm_dir=`pwd`
build_dir=`mktemp -d -t ycm_build.XXXX`
pushd $build_dir
cmake -G "Unix Makefiles" $(python_finder) $1 . $ycm_dir/cpp
make ycm_core

if [[ `uname -s` == "Darwin" ]]; then
cmake -G "Unix Makefiles" $(python_finder) $1 . $ycm_dir/cpp
else
cmake -G "Unix Makefiles" $1 . $ycm_dir/cpp
fi

#make ycm_core
popd
}

Expand Down

0 comments on commit 8bc9073

Please sign in to comment.