Update to use new WITH_STATIC_LIBS CMake flag when ALL_STATIC is true.
authorBastien Montagne <montagne29@wanadoo.fr>
Mon, 19 Nov 2012 20:24:06 +0000 (20:24 +0000)
committerBastien Montagne <montagne29@wanadoo.fr>
Mon, 19 Nov 2012 20:24:06 +0000 (20:24 +0000)
build_files/build_environment/install_deps.sh

index 968b64d47a54687bcddac4f0b627f8310229d042..7c4501505dfaddf7bbe769799ee05bd2ebd36e95 100755 (executable)
@@ -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