diff --git a/googletest/cmake/internal_utils.cmake b/googletest/cmake/internal_utils.cmake index 7ca256a76..28b1226f3 100644 --- a/googletest/cmake/internal_utils.cmake +++ b/googletest/cmake/internal_utils.cmake @@ -191,6 +191,8 @@ function(cxx_library_with_type name type cxx_flags) target_compile_definitions(${name} INTERFACE $) endif() + target_compile_definitions(${name} INTERFACE + $>) if (DEFINED GTEST_HAS_PTHREAD) target_link_libraries(${name} PUBLIC Threads::Threads) endif()