[arrayfire] 47/248: Fixed cmake bug in examples also
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Tue Nov 17 15:53:53 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 859112e49ccc54d80f0ac9af5f0049b3c9e4359b
Author: pradeep <pradeep at arrayfire.com>
Date: Tue Sep 8 13:58:03 2015 -0400
Fixed cmake bug in examples also
Forgot to fix this in earlier commits
---
examples/CMakeLists.txt | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index c813398..0fbe1b9 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -87,7 +87,11 @@ if(${ArrayFire_Unified_FOUND}) # variable defined by FIND(ArrayFire ...)
BUILD_ALL("${FILES}" unified ${ArrayFire_Unified_LIBRARIES} "")
elseif(TARGET af) # variable defined by the ArrayFire build tree
MESSAGE(STATUS "EXAMPLES: UNIFIED backend is ON.")
- BUILD_ALL("${FILES}" unified af "dl")
+ IF(WIN32)
+ BUILD_ALL("${FILES}" unified af "")
+ ELSE()
+ BUILD_ALL("${FILES}" unified af "dl")
+ ENDIF()
else()
MESSAGE(STATUS "EXAMPLES: UNIFIED backend is OFF. af was not found.")
endif()
--
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