We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22dcaf1 commit 99642d5Copy full SHA for 99642d5
cmake/Dependencies.cmake
@@ -82,7 +82,13 @@ if(BUILD_TEST)
82
# console via a non-QUIET find_package call and if CONFIG succeeded, creates ALIAS targets
83
# with the MODULE IMPORTED names.
84
if(NOT DEPENDENCIES_FORCE_DOWNLOAD)
85
- find_package(GTest QUIET)
+ if(WIN32)
86
+ # Older versions of gtest on Windows does not support printing of 128-bit values,
87
+ # Causing compilation errors.
88
+ find_package(GTest 1.11.0 REQUIRED)
89
+ else()
90
+ find_package(GTest QUIET)
91
+ endif()
92
endif()
93
if(NOT TARGET GTest::GTest AND NOT TARGET GTest::gtest)
94
option(BUILD_GTEST "Builds the googletest subproject" ON)
0 commit comments