The gtest_discover_tests() function was only added in CMake 3.10. There's no reason you can't use those functions with a gtest built as part ...
確定! 回上一頁