From e44e12cbd0e1ae52e9f3439960d8a1bbddddd78a Mon Sep 17 00:00:00 2001 From: Fan Jiang Date: Thu, 11 Jun 2020 23:09:00 -0400 Subject: [PATCH] Use static runtime --- build-macos-new.sh | 1 + build-macos.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/build-macos-new.sh b/build-macos-new.sh index 65f6eb0..872087a 100755 --- a/build-macos-new.sh +++ b/build-macos-new.sh @@ -77,6 +77,7 @@ for PYVER in ${PYTHON_VERS[@]}; do -DGTSAM_ALLOW_DEPRECATED_SINCE_V4=OFF \ -DCMAKE_INSTALL_PREFIX="$BUILDDIR/../gtsam_install" \ -DBoost_USE_STATIC_LIBS=ON \ + -DBoost_USE_STATIC_RUNTIME=ON \ -DBOOST_ROOT=$CURRDIR/boost_install \ -DCMAKE_PREFIX_PATH=$CURRDIR/boost_install/lib/cmake/Boost-1.73.0/ \ -DBoost_NO_SYSTEM_PATHS=OFF \ diff --git a/build-macos.sh b/build-macos.sh index ddba3bd..acbbae9 100755 --- a/build-macos.sh +++ b/build-macos.sh @@ -57,6 +57,7 @@ for PYVER in ${PYTHON_VERS[@]}; do -DGTSAM_ALLOW_DEPRECATED_SINCE_V4=OFF \ -DCMAKE_INSTALL_PREFIX="$BUILDDIR/../gtsam_install" \ -DBoost_USE_STATIC_LIBS=ON \ + -DBoost_USE_STATIC_RUNTIME=ON \ -DBOOST_ROOT=$CURRDIR/boost_install \ -DCMAKE_PREFIX_PATH=$CURRDIR/boost_install/lib/cmake/Boost-1.73.0/ \ -DBoost_NO_SYSTEM_PATHS=OFF \