Merge pull request #5035 from K-S-Manikandan:fix-cmake-uninit-var

PiperOrigin-RevId: 953425063
Change-Id: I76419008d1469e91f98622056524bd0d46ad0eb8
This commit is contained in:
Copybara-Service 2026-07-24 10:06:23 -07:00
commit 679a61d3a8

View File

@ -62,7 +62,7 @@ macro(config_compiler_and_linker)
endif() endif()
fix_default_compiler_settings_() fix_default_compiler_settings_()
set(cxx_strict_flags "")
if (MSVC) if (MSVC)
# When Google Test is built as a shared library, it should also use shared # When Google Test is built as a shared library, it should also use shared
# runtime libraries. Otherwise, it may end up with multiple copies of # runtime libraries. Otherwise, it may end up with multiple copies of