commit | c4ddd84918b4b58c03c60f44e0e7a2c6df5846d5 | [log] [tgz] |
---|---|---|
author | David L. Jones <dlj@google.com> | Thu Apr 28 15:17:51 2022 -0700 |
committer | GitHub <noreply@github.com> | Thu Apr 28 15:17:51 2022 -0700 |
tree | 2f8aeb00cbf15f30866dfa52a59d926da69b3b36 | |
parent | 4e5e8d325adbcf0420277fb83b124296b61af11b [diff] [blame] |
Factor out MSVC-only `version.rc` logic, and ensure other variables are always initialized (#9880)
diff --git a/cmake/tests.cmake b/cmake/tests.cmake index 789ae4f..1f8bbc9 100644 --- a/cmake/tests.cmake +++ b/cmake/tests.cmake
@@ -245,6 +245,8 @@ string(APPEND protobuf_TEST_XML_OUTDIR "/") endif() set(protobuf_GTEST_ARGS "--gtest_output=xml:${protobuf_TEST_XML_OUTDIR}") +else() + set(protobuf_GTEST_ARGS) endif() add_executable(tests ${tests_files})