You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Defer enable_testing() to directory scope for CTest
Replaces direct inclusion of CTest with a deferred call to enable_testing() at the directory scope using cmake_language(DEFER). This ensures enable_testing() is executed after the function returns, allowing add_test() to work correctly when cpp_library_setup is used. Also updates comments for clarity.
0 commit comments