Files
OpenCL-CTS/CMakeVendor.txt
2017-05-16 18:44:33 +05:30

16 lines
491 B
Plaintext

# Include cmake files to build driver
# to build driver as a dependency of tests
# in this example environment variable $OPENCL_DRIVER points to driver base
# Ex include($ENV{OPENCL_DRIVER}/driver.cmake)
# We intentionally hardcode "_win32" to ensure backwards compatibility (to avoid breaking HAAVE)
if(ANDROID)
if(ARM64_V8A)
set(ARCH "64")
else(ARM64_V8A)
set(ARCH "32")
endif(ARM64_V8A)
endif (ANDROID)
set (CL_INCLUDE_DIR "$ENV{OPENCL_DRIVER}/include/public/")