Commit 9bf4f87e authored by Pino Toscano's avatar Pino Toscano
Browse files

cmake: build/run tests only when enabled

parent 51f214b9
......@@ -82,7 +82,9 @@ install(TARGETS swappo ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
add_subdirectory(tests)
if (BUILD_TESTING)
add_subdirectory(tests)
endif()
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment