123456789101112131415161718192021222324 |
- --- a/CMakeLists.txt
- +++ b/CMakeLists.txt
- @@ -223,17 +223,15 @@
- # MESSAGE(STATUS "Looking for mesa source code - not found, cl_khr_gl_sharing will be disabled.")
- #ENDIF(MESA_SOURCE_FOUND)
-
- +OPTION(OCLICD_COMPAT "OCL ICD compatibility mode" ON)
- +IF(OCLICD_COMPAT)
- Find_Package(OCLIcd)
- IF(OCLIcd_FOUND)
- MESSAGE(STATUS "Looking for OCL ICD header file - found")
- - configure_file (
- - "intel-beignet.icd.in"
- - "${ICD_FILE_NAME}"
- - )
- - install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${ICD_FILE_NAME} DESTINATION /etc/OpenCL/vendors)
- ELSE(OCLIcd_FOUND)
- MESSAGE(STATUS "Looking for OCL ICD header file - not found")
- ENDIF(OCLIcd_FOUND)
- +ENDIF(OCLICD_COMPAT)
-
- Find_Package(PythonInterp)
-
|