[office/kmymoney] kmymoney/plugins/qif/import: Only build tests if BUILD_TESTING is ON
Mark Penner <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 728739231fc5db20922384f62ec29056e29cbe73 by Mark Penner.
Committed on 19/08/2026 at 00:00.
Pushed by tbaumgart into branch 'master'.
Only build tests if BUILD_TESTING is ON
M +3 -1 kmymoney/plugins/qif/import/CMakeLists.txt
https://invent.kde.org/office/kmymoney/-/commit/728739231fc5db20922384f62ec29056e29cbe73
diff --git a/kmymoney/plugins/qif/import/CMakeLists.txt b/kmymoney/plugins/qif/import/CMakeLists.txt
index b4174f1b7..e30893168 100644
--- a/kmymoney/plugins/qif/import/CMakeLists.txt
+++ b/kmymoney/plugins/qif/import/CMakeLists.txt
@@ -30,4 +30,6 @@ target_link_libraries(qifimporter
kmm_settings
)
-add_subdirectory(tests)
+if(BUILD_TESTING)
+ add_subdirectory(tests)
+endif()