From 38a84d2b9ff7622dfd757899c98305310c161e9a Mon Sep 17 00:00:00 2001 From: Chris Hoffman Date: Wed, 12 Mar 2014 20:23:14 -0500 Subject: [PATCH] Always use python_finder on install When using something like [pyenv](yyuu/pyenv) cmake fails to find the python library. --- install.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/install.sh b/install.sh index c3970ccf..ffdf02fa 100755 --- a/install.sh +++ b/install.sh @@ -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 + cmake -G "Unix Makefiles" $(python_finder) "$@" . $ycm_dir/cpp make -j $(num_cores) ycm_support_libs popd