[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [calligra/kexi-frameworks7-staniek] kexi/main: Kexi main tests: only enter the dir when tests are en
From:       Jaroslaw Staniek <staniek () kde ! org>
Date:       2015-06-30 20:24:32
Message-ID: E1ZA252-0006Ps-Jc () scm ! kde ! org
[Download RAW message or body]

Git commit 3f843168089b0068b1bee3f955fe081761938cde by Jaroslaw Staniek.
Committed on 30/06/2015 at 20:16.
Pushed by staniek into branch 'kexi-frameworks7-staniek'.

Kexi main tests: only enter the dir when tests are enabled

M  +4    -1    kexi/main/CMakeLists.txt

http://commits.kde.org/calligra/3f843168089b0068b1bee3f955fe081761938cde

diff --git a/kexi/main/CMakeLists.txt b/kexi/main/CMakeLists.txt
index edf1ebc..20592a3 100644
--- a/kexi/main/CMakeLists.txt
+++ b/kexi/main/CMakeLists.txt
@@ -69,4 +69,7 @@ set_target_properties(keximain PROPERTIES VERSION ${GENER=
IC_CALLIGRA_LIB_VERSION
 install(TARGETS keximain  ${INSTALL_TARGETS_DEFAULT_ARGS})
 =

 add_subdirectory(status)
-add_subdirectory(tests)
+
+if (BUILD_TESTING)
+    add_subdirectory(tests)
+endif()

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic