-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
I noticed that my CMake tests are not built unless I include CTest in my CMakeLists.txt. Only then are any tests found when I run ctest --output-on-failure in my build directory.
Describe the solution you'd like
Currently, I add include(CTest) before any calls to ct_add_dir() and this fixes the issue. Is it possible to automatically include CTest when the project grabs CMakeTest?
Describe alternatives you've considered
Manually include CTest in my project before calling ct_add_dir(). This is fine as well, but I could not find documentation saying to do so.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request