plugins: add tests only if BUILD_TESTING=ON
@@ -11,5 +11,7 @@ add_subdirectory (tools)
add_subdirectory (include)
+if (BUILD_TESTING)
set (ADDTESTING_PHASE ON)
add_subdirectory (plugins plugins_tests)
+endif (BUILD_TESTING)
