[arrayfire] 29/61: Add enable_testing to test/CMakeLists.txt
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Tue Dec 8 11:55:05 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch dfsg-clean
in repository arrayfire.
commit 7fcf9bb24102d919744bd36bfae2639e57f52a4c
Author: Shehzan Mohammed <shehzan at arrayfire.com>
Date: Mon Nov 30 15:35:45 2015 -0500
Add enable_testing to test/CMakeLists.txt
* When building with source, the ENABLE_TESTING is picked up from the
arrayfire CMakeList.txt
---
test/CMakeLists.txt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 28f650d..69850ef 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -20,6 +20,11 @@ ELSE()
IF(${BUILD_NONFREE}) # Add definition. Not required when building with AF
ADD_DEFINITIONS(-DAF_BUILD_SIFT)
ENDIF(${BUILD_NONFREE})
+
+ # ENABLE_TESTING is required when building only tests
+ # When building from source, enable_testing is picked from from the main
+ # CMakeLists.txt
+ ENABLE_TESTING()
ENDIF()
REMOVE_DEFINITIONS(-std=c++11)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git
More information about the debian-science-commits
mailing list