diff --git a/scripts/setup-centos8.sh b/scripts/setup-centos8.sh index 7c0e8afb4a77..5903d1b9c35a 100755 --- a/scripts/setup-centos8.sh +++ b/scripts/setup-centos8.sh @@ -145,7 +145,7 @@ function install_fbthrift { wget_and_untar https://github.com/facebook/fbthrift/archive/refs/tags/${FB_OS_VERSION}.tar.gz fbthrift ( cd fbthrift - cmake_install -Denable_tests=OFF + cmake_install -Denable_tests=OFF -DBUILD_TESTS=OFF -DBUILD_SHARED_LIBS=OFF ) } diff --git a/scripts/setup-macos.sh b/scripts/setup-macos.sh index dd77fc1982b5..36252d5f0548 100755 --- a/scripts/setup-macos.sh +++ b/scripts/setup-macos.sh @@ -97,7 +97,7 @@ function install_mvfst { function install_fbthrift { github_checkout facebook/fbthrift "${FB_OS_VERSION}" - cmake_install -DBUILD_TESTS=OFF + cmake_install -Denable_tests=OFF -DBUILD_TESTS=OFF -DBUILD_SHARED_LIBS=OFF } function install_double_conversion { diff --git a/scripts/setup-ubuntu.sh b/scripts/setup-ubuntu.sh index 04a5c2c8babb..197cb6ba3562 100755 --- a/scripts/setup-ubuntu.sh +++ b/scripts/setup-ubuntu.sh @@ -102,7 +102,7 @@ function install_mvfst { function install_fbthrift { github_checkout facebook/fbthrift "${FB_OS_VERSION}" - cmake_install -DBUILD_TESTS=OFF + cmake_install -Denable_tests=OFF -DBUILD_TESTS=OFF -DBUILD_SHARED_LIBS=OFF } function install_conda {