... 您實際上不想嘗試查詢gtest,因為您直接將其合併到了構建中。在3.10或更高版本中,您的測試可以這樣定義: include(GoogleTest) gtest_discover_tests(CoreTest).
確定! 回上一頁