Skip to content

Commit 09d527f

Browse files
authored
Fix a CMake v4.0.0 build error (related to googletest) (#4808)
CMake version 4.0.0 doesn't support the currently used `googletest` CMake project version. As such, updating the project to the latest version makes sense. Signed-off-by: 0xENDER <[email protected]>
1 parent cb85012 commit 09d527f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/Cpp/runtime/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ if (ANTLR_BUILD_CPP_TESTS)
7070

7171
FetchContent_Declare(
7272
googletest
73-
URL https://github.com/google/googletest/archive/e2239ee6043f73722e7aa812a459f54a28552929.zip
73+
URL https://github.com/google/googletest/archive/refs/tags/v1.16.0.zip
7474
)
7575

7676
if(WITH_STATIC_CRT)

0 commit comments

Comments
 (0)