Skip to content

Commit 2b32a20

Browse files
committed
fixed msvc_runtime cmake option
1 parent 4646f6b commit 2b32a20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/gha/build_desktop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def cmake_configure(build_dir, arch, msvc_runtime_library='static',
182182

183183
# Use our special cmake option for /MD (dynamic).
184184
# If this option is not specified, the default value is /MT (static).
185-
if msvc_runtime_library == "dynamic":
185+
if msvc_runtime_library == "static":
186186
cmd.append('-DMSVC_RUNTIME_LIBRARY_STATIC=ON')
187187

188188
if (target_format):

0 commit comments

Comments
 (0)