From ade96d28403207f6deae1f257bc130fb76dfff13 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 19 Nov 2012 20:24:06 +0000 Subject: [PATCH] Update to use new WITH_STATIC_LIBS CMake flag when ALL_STATIC is true. --- build_files/build_environment/install_deps.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build_files/build_environment/install_deps.sh b/build_files/build_environment/install_deps.sh index 968b64d47a5..7c4501505df 100755 --- a/build_files/build_environment/install_deps.sh +++ b/build_files/build_environment/install_deps.sh @@ -1132,14 +1132,14 @@ print_info() { INFO "" INFO "If you're using CMake add this to your configuration flags:" + if $ALL_STATIC; then + INFO " -D WITH_STATIC_LIBS=ON" + fi + if [ -d $INST/boost ]; then INFO " -D BOOST_ROOT=$INST/boost" INFO " -D Boost_NO_SYSTEM_PATHS=ON" - if $ALL_STATIC; then - INFO " -D Boost_USE_STATIC_LIBS=ON" - fi elif $ALL_STATIC; then - INFO " -D Boost_USE_STATIC_LIBS=ON" INFO " -D Boost_USE_ICU=ON" fi