summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorZhigang Gong <zhigang.gong@intel.com>2014-01-08 18:57:31 +0800
committerZhigang Gong <zhigang.gong@intel.com>2014-01-16 10:30:03 +0800
commit9a94d1fb4db2b7bf98103b6ce7e162363041c878 (patch)
tree1209646ab311412d0edfa8d21920780c12206ff9 /CMake
parent8fa9a8b82407d91b1e9cd197ca2ea180c8f24de4 (diff)
downloadbeignet-9a94d1fb4db2b7bf98103b6ce7e162363041c878.tar.gz
CL: prepare to support ICD if the system has ocl-icd..
v2: Only install the intel-beignet.icd if the system has ocl-icd support. Signed-off-by: Zhigang Gong <zhigang.gong@intel.com> Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com> Tested-by: "Song, Ruiling" <ruiling.song@intel.com>
Diffstat (limited to 'CMake')
-rw-r--r--CMake/FindGBE.cmake37
1 files changed, 0 insertions, 37 deletions
diff --git a/CMake/FindGBE.cmake b/CMake/FindGBE.cmake
deleted file mode 100644
index db938c7b..00000000
--- a/CMake/FindGBE.cmake
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# Try to find X library and include path.
-# Once done this will define
-#
-# GBE_FOUND
-# GBE_INCLUDE_PATH
-# GBE_LIBRARY
-#
-
-FIND_PATH(GBE_INCLUDE_PATH gen/program.h
- ~/include/
- /usr/include/
- /usr/local/include/
- /sw/include/
- /opt/local/include/
- DOC "The directory where gen/program.h resides")
-FIND_LIBRARY(GBE_LIBRARY
- NAMES GBE gbe
- PATHS
- ~/lib/
- /usr/lib64
- /usr/lib
- /usr/local/lib64
- /usr/local/lib
- /sw/lib
- /opt/local/lib
- DOC "The GBE library")
-
-IF(GBE_INCLUDE_PATH)
- INCLUDE_DIRECTORIES(${GBE_INCLUDE_PATH})
- SET(GBE_FOUND 1 CACHE STRING "Set to 1 if GBE is found, 0 otherwise")
-ELSE(GBE_INCLUDE_PATH)
- SET(GBE_FOUND 0 CACHE STRING "Set to 1 if GBE is found, 0 otherwise")
-ENDIF(GBE_INCLUDE_PATH)
-
-MARK_AS_ADVANCED(GBE_FOUND)
-