Merge e1a97d4c234d55f301c2d2ae3945a2205b3d4203 into cd8e73f067129f8489e35c7b51c7a68552b289d2

This commit is contained in:
Wuzhuodong 2026-10-22 12:43:54 +00:00 committed by GitHub
commit 1fe1305954
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -177,7 +177,7 @@ as a DLL on Windows) if you prefer.
To compile *gtest* as a shared library, add
```
-DGTEST_CREATE_SHARED_LIBRARY=1
-DBUILD_SHARED_LIBS=1
```
to the compiler flags. You'll also need to tell the linker to produce a shared