Update to use new WITH_STATIC_LIBS CMake flag when ALL_STATIC is true.

This commit is contained in:
Bastien Montagne
2012-11-19 20:24:06 +00:00
parent 0e15537bf2
commit ade96d2840

View File

@@ -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