Remove LIBDRM_DIR flag

Resolves: NEO-3529

Change-Id: Ibe410d2e6f94188a21a01501a2d1e5b15a411c2e
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski 2019-08-01 15:28:44 +02:00
parent 251c3f4aed
commit f04f28eeab
1 changed files with 1 additions and 5 deletions

View File

@ -167,11 +167,7 @@ if(DISABLE_AUB_STREAM)
unset(AUB_STREAM_DIR)
endif()
if(LIBDRM_DIR)
get_filename_component(I915_INCLUDES_DIR "${LIBDRM_DIR}/include" ABSOLUTE)
else()
get_filename_component(I915_INCLUDES_DIR "${IGDRCL_SOURCE_DIR}/third_party${BRANCH_DIR_SUFFIX}/uapi" ABSOLUTE)
endif()
get_filename_component(I915_INCLUDES_DIR "${IGDRCL_SOURCE_DIR}/third_party${BRANCH_DIR_SUFFIX}/uapi" ABSOLUTE)
message(STATUS "i915 includes dir: ${I915_INCLUDES_DIR}")
if(NOT DEFINED KHRONOS_HEADERS_DIR)