From 8f2deed47a7b470b6b20a9241acfddf8cea9728d Mon Sep 17 00:00:00 2001 From: Gabriel Motta <34070103+gabrielbmotta@users.noreply.github.com> Date: Thu, 16 Mar 2023 15:09:36 -0400 Subject: [PATCH] Fix static flag check on windows --- tools/building/build_project.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/building/build_project.bat b/tools/building/build_project.bat index c035d9aa9a1..5eb02e73885 100755 --- a/tools/building/build_project.bat +++ b/tools/building/build_project.bat @@ -58,7 +58,7 @@ IF "%1"=="rebuild" ( SET "Rebuild=True" ) - IF "%1"=="rebuild" ( + IF "%1"=="static" ( SET "CMakeConfigFlags=!CMakeConfigFlags! -DBUILD_SHARED_LIBS=OFF" ) SHIFT