From 27011adade4701d55f5b2f3f6c1ae529ae6e76d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Varga?= Date: Wed, 8 May 2013 20:31:12 +0200 Subject: [PATCH] Fixed argument pass problem Pass additional arguments to cmake. --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 81730d6d..f77408ab 100755 --- a/install.sh +++ b/install.sh @@ -72,9 +72,9 @@ function install { pushd $build_dir if [[ `uname -s` == "Darwin" ]]; then - cmake -G "Unix Makefiles" $(python_finder) $1 . $ycm_dir/cpp + cmake -G "Unix Makefiles" $(python_finder) "$@" . $ycm_dir/cpp else - cmake -G "Unix Makefiles" $1 . $ycm_dir/cpp + cmake -G "Unix Makefiles" "$@" . $ycm_dir/cpp fi make -j $(num_cores) ycm_core @@ -87,7 +87,7 @@ function testrun { build_dir=`mktemp -d -t ycm_build.XXXXXX` pushd $build_dir - cmake -G "Unix Makefiles" $1 . $ycm_dir/cpp + cmake -G "Unix Makefiles" "$@" . $ycm_dir/cpp make -j $(num_cores) ycm_core_tests cd ycm/tests LD_LIBRARY_PATH=$ycm_dir/python ./ycm_core_tests