diff options
author | Zhigang Gong <zhigang.gong@intel.com> | 2014-01-08 18:57:31 +0800 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@intel.com> | 2014-01-10 17:27:55 +0800 |
commit | 03e53efebb24387a48ce10c0d21f58dbb7b5c82e (patch) | |
tree | 7042ad7e8b51ad7b6d60ebda9423b7cbf197173a /CMake | |
parent | fdbf5f1f55d77ae17cfaf3c6cc049d2575ae6eb7 (diff) | |
download | beignet-03e53efebb24387a48ce10c0d21f58dbb7b5c82e.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>
Diffstat (limited to 'CMake')
-rw-r--r-- | CMake/FindGBE.cmake | 37 |
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) - |