feature try disable c++11 for gtest
Some checks failed
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 42s
rpcrypto-build / build (Debug, mipsel-openwrt-linux.toolchain.cmake) (push) Failing after 51s
rpcrypto-build / build (Debug, mipsel-openwrt-linux-musl.toolchain.cmake) (push) Failing after 55s
linux-x64-gcc / linux-gcc (push) Failing after 38s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 59s
rpcrypto-build / build (Release, mipsel-openwrt-linux-musl.toolchain.cmake) (push) Failing after 1m0s
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 1m15s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Failing after 1m17s
rpcrypto-build / build (Release, mipsel-openwrt-linux.toolchain.cmake) (push) Failing after 1m17s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m5s
linux-mips64-gcc / linux-gcc-mips64el (push) Failing after 2m27s

This commit is contained in:
tqcq 2023-12-11 09:26:36 +08:00
parent f899290b1f
commit 61b54112eb

View File

@ -46,6 +46,9 @@ install(TARGETS ${PROJECT_NAME} DESTINATION lib)
if(ULIB_BUILD_TESTS) if(ULIB_BUILD_TESTS)
enable_testing() enable_testing()
set(GTEST_LANG_CXX11 OFF)
set(GTEST_HAS_TR1_TUPLE OFF)
set(GTEST_USE_OWN_TR1_TUPLE ON)
add_subdirectory(3party/googletest) add_subdirectory(3party/googletest)
add_subdirectory(tests) add_subdirectory(tests)
endif() endif()