[arrayfire] 57/284: additional style changes

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun Feb 7 18:59:19 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 67ef0517d77bf5a367f22e2819f9091f7f2f0b94
Author: Pradeep <pradeep at arrayfire.com>
Date:   Fri Dec 4 16:47:28 2015 -0500

    additional style changes
---
 test/CMakeLists.txt | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index b1eb552..3ae6ec0 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -81,10 +81,7 @@ ELSE(USE_SYSTEM_GTEST)
     INCLUDE("${CMAKE_MODULE_PATH}/build_gtest.cmake")
 ENDIF(USE_SYSTEM_GTEST)
 
-INCLUDE_DIRECTORIES(
-    ${GTEST_INCLUDE_DIRS}
-    ${OpenCL_INCLUDE_DIRS}
-    )
+INCLUDE_DIRECTORIES(${GTEST_INCLUDE_DIRS})
 
 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
 FILE(GLOB FILES "*.cpp" "*.c")
@@ -115,6 +112,7 @@ ENDIF()
 
 IF(${BUILD_OPENCL} AND ${OpenCL_FOUND})
     MESSAGE(STATUS "TESTS: OPENCL backend is ON")
+    INCLUDE_DIRECTORIES(${OpenCL_INCLUDE_DIRS})
     CREATE_TESTS(opencl opencl "${GTEST_LIBRARIES}" "${OpenCL_LIBRARIES}")
 ELSE()
     MESSAGE(STATUS "TESTS: OPENCL backend is OFF")

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