[arrayfire] 19/61: Fix examples/cmakelist arguments for osx and windows
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Tue Dec 8 11:55:03 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 bdee78a64a665423d029afbcc9e9c1b7e6f049fd
Author: Shehzan Mohammed <shehzan at arrayfire.com>
Date: Tue Nov 24 15:10:06 2015 -0500
Fix examples/cmakelist arguments for osx and windows
---
examples/CMakeLists.txt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 793cb04..bbadd46 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -85,10 +85,10 @@ ENDIF()
# Next we build each example using every backend.
IF(${ArrayFire_Unified_FOUND}) # variable defined by FIND(ArrayFire ...)
MESSAGE(STATUS "EXAMPLES: UNIFIED backend is ON.")
- BUILD_ALL("${FILES}" unified ${ArrayFire_Unified_LIBRARIES} ${CMAKE_DL_LIBS})
+ BUILD_ALL("${FILES}" unified ${ArrayFire_Unified_LIBRARIES} "${CMAKE_DL_LIBS}")
ELSEIF(TARGET af) # variable defined by the ArrayFire build tree
MESSAGE(STATUS "EXAMPLES: UNIFIED backend is ON.")
- BUILD_ALL("${FILES}" unified af ${CMAKE_DL_LIBS})
+ BUILD_ALL("${FILES}" unified af "${CMAKE_DL_LIBS}")
ELSE()
MESSAGE(STATUS "EXAMPLES: UNIFIED backend is OFF. af was not found.")
ENDIF()
@@ -119,7 +119,7 @@ IF (${OpenCL_FOUND})
BUILD_ALL("${FILES}" opencl ${ArrayFire_OpenCL_LIBRARIES} "${OpenCL_LIBRARIES}")
ELSEIF(TARGET afopencl) # variable defined by the ArrayFire build tree
MESSAGE(STATUS "EXAMPLES: OpenCL backend is ON.")
- BUILD_ALL("${FILES}" opencl afopencl ${OpenCL_LIBRARIES})
+ BUILD_ALL("${FILES}" opencl afopencl "${OpenCL_LIBRARIES}")
ELSE()
MESSAGE(STATUS "EXAMPLES: OpenCL backend is OFF. afopencl 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