Merge c05228b7019e03b62fb868e53356d134dfa1c857 into d72f9c8aea6817cdf1ca0ac10887f328de7f3da2

This commit is contained in:
0xmbe 2026-04-04 01:01:13 +02:00 committed by GitHub
commit 6376fe7c09
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -121,7 +121,7 @@ include_directories(${gtest_build_include_dirs})
# are used for other targets, to ensure that gtest can be compiled by a user
# aggressive about warnings.
cxx_library(gtest "${cxx_strict}" src/gtest-all.cc)
set_target_properties(gtest PROPERTIES VERSION ${GOOGLETEST_VERSION})
set_target_properties(gtest PROPERTIES VERSION "${GOOGLETEST_VERSION}")
if(GTEST_HAS_ABSL)
target_compile_definitions(gtest PUBLIC GTEST_HAS_ABSL=1)
target_link_libraries(gtest PUBLIC
@ -136,7 +136,7 @@ if(GTEST_HAS_ABSL)
)
endif()
cxx_library(gtest_main "${cxx_strict}" src/gtest_main.cc)
set_target_properties(gtest_main PROPERTIES VERSION ${GOOGLETEST_VERSION})
set_target_properties(gtest_main PROPERTIES VERSION "${GOOGLETEST_VERSION}")
string(REPLACE ";" "$<SEMICOLON>" dirs "${gtest_build_include_dirs}")
target_include_directories(gtest SYSTEM INTERFACE
"$<BUILD_INTERFACE:${dirs}>"