Put include(CTest) in your top level CMakeLists.txt file before you make any add_subdirectory calls. That will call enable_testing for you, ...
確定! 回上一頁