mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
cmake: detect level_zero folder presence
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
23f7a908d7
commit
4981cbf9c5
@ -134,8 +134,10 @@ if(NOT DEFINED NEO_BUILD_WITH_OCL)
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED BUILD_WITH_L0)
|
||||
if("${NEO_BITS}" STREQUAL "64")
|
||||
set(BUILD_WITH_L0 TRUE)
|
||||
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/level_zero/CMakeLists.txt)
|
||||
if("${NEO_BITS}" STREQUAL "64")
|
||||
set(BUILD_WITH_L0 TRUE)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
Reference in New Issue
Block a user