[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [krunner] /: Honor BUILD_TESTING
From: Antonio Rojas <null () kde ! org>
Date: 2018-07-19 6:57:58
Message-ID: E1fg2sw-0006cy-Q5 () code ! kde ! org
[Download RAW message or body]
Git commit a3847124d53fa1810698ea8561b2b430ef185750 by Antonio Rojas.
Committed on 19/07/2018 at 06:57.
Pushed by arojas into branch 'master'.
Honor BUILD_TESTING
Only build tests if BUILD_TESTING is on
Differential Revision: https://phabricator.kde.org/D13990
M +4 -2 CMakeLists.txt
https://commits.kde.org/krunner/a3847124d53fa1810698ea8561b2b430ef185750
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0f19ab6..6334ffb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -55,8 +55,10 @@ endif()
=
# Subdirectories
add_subdirectory(src)
-add_subdirectory(autotests)
-add_subdirectory(tests)
+if (BUILD_TESTING)
+ add_subdirectory(autotests)
+ add_subdirectory(tests)
+endif()
add_subdirectory(templates)
=
# Create a Config.cmake and a ConfigVersion.cmake file and install them
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic