Home | History | Annotate | Download | only in system_opencl
      1 # System OpenCL
      2 
      3 set(DEQP_TARGET_NAME "System OpenCL")
      4 
      5 set(DEQP_SUPPORT_GLES2		OFF)
      6 set(DEQP_SUPPORT_GLES1		OFF)
      7 set(DEQP_SUPPORT_OPENVG		OFF)
      8 set(DEQP_SUPPORT_EGL		OFF)
      9 set(DEQP_SUPPORT_OPENCL		ON)
     10 
     11 # Headers
     12 find_path(OPENCL_INC NAMES CL/cl.h OpenCL/cl.h)
     13 if (NOT OPENCL_INC)
     14 	message(FATAL_ERROR "Can't find OpenCL headers")
     15 endif ()
     16 include_directories(${OPENCL_INC})
     17 
     18 # Libraries
     19 find_library(OPENCL_LIB NAMES OpenCL libOpenCL)
     20 set(DEQP_OPENCL_LIBRARIES ${OPENCL_LIB})
     21