Add cmake flag to disable i915 prelim headers detection

Related-To: NEO-6625
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2022-01-31 12:04:31 +01:00
committed by Compute-Runtime-Automation
parent 9d8ce7aace
commit f45fadf89b
4 changed files with 45 additions and 5 deletions

View File

@@ -754,6 +754,13 @@ else()
set(NEO_EXTRA_LIBS dl pthread rt)
endif()
if(UNIX)
# prelim headers detection
if((NOT DEFINED NEO_ENABLE_i915_PRELIM_DETECTION) OR NOT ("${BRANCH_TYPE}" STREQUAL ""))
set(NEO_ENABLE_i915_PRELIM_DETECTION TRUE)
endif()
message(STATUS "i915 prelim headers detection: ${NEO_ENABLE_i915_PRELIM_DETECTION}")
endif()
add_subdirectory_unique(shared)
if(NEO_BUILD_WITH_OCL)