diff --git a/CMakeLists.txt b/CMakeLists.txt index 1380dae90..6fd61a0a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -118,8 +118,8 @@ endif() # Build CUnit find_optional_package(CUnit) if(CUNIT_FOUND) - add_subdirectory(cunit) enable_testing() + add_subdirectory(cunit) endif() # Sub-directories