[arrayfire] 56/284: Added OpenCL include dir for unit tests

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun Feb 7 18:59:18 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/experimental
in repository arrayfire.

commit 227377d5d891b742ff181fa108b75ad5c5b1fce7
Author: pradeep <pradeep at arrayfire.com>
Date:   Fri Dec 4 16:12:51 2015 -0500

    Added OpenCL include dir for unit tests
    
    This is required by the ocl_ext_context unit tests source file
---
 test/CMakeLists.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 30907d3..b1eb552 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -81,7 +81,10 @@ ELSE(USE_SYSTEM_GTEST)
     INCLUDE("${CMAKE_MODULE_PATH}/build_gtest.cmake")
 ENDIF(USE_SYSTEM_GTEST)
 
-INCLUDE_DIRECTORIES(${GTEST_INCLUDE_DIRS})
+INCLUDE_DIRECTORIES(
+    ${GTEST_INCLUDE_DIRS}
+    ${OpenCL_INCLUDE_DIRS}
+    )
 
 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
 FILE(GLOB FILES "*.cpp" "*.c")

-- 
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