diff --git a/patches/googletest-v1.15.2.patch b/patches/googletest-v1.15.2.patch index 6f789449ab..290a4c0d61 100644 --- a/patches/googletest-v1.15.2.patch +++ b/patches/googletest-v1.15.2.patch @@ -18,7 +18,7 @@ index e9d9e32..ca55646 100644 #define GMOCK_FLAG_GET(name) ::absl::GetFlag(GMOCK_FLAG(name)) #define GMOCK_FLAG_SET(name, value) \ diff --git a/googletest/cmake/internal_utils.cmake b/googletest/cmake/internal_utils.cmake -index 580ac1c..96fe3ac 100644 +index 580ac1c..014e74c 100644 --- a/googletest/cmake/internal_utils.cmake +++ b/googletest/cmake/internal_utils.cmake @@ -11,6 +11,7 @@ @@ -46,9 +46,11 @@ index 580ac1c..96fe3ac 100644 # Make PDBs match library name. get_target_property(pdb_debug_postfix ${name} DEBUG_POSTFIX) set_target_properties(${name} -@@ -190,6 +191,13 @@ function(cxx_library_with_type name type cxx_flags) +@@ -189,7 +190,15 @@ function(cxx_library_with_type name type cxx_flags) + PROPERTIES COMPILE_DEFINITIONS "GTEST_CREATE_SHARED_LIBRARY=1") target_compile_definitions(${name} INTERFACE ++ $ $) + if(APPLE) + set_target_properties(${name} PROPERTIES