mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
Unify include directories for i915 headers
include i915_drm_prelim.h using relative path Related-To: NEO-6852 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
72c3a04bfd
commit
ca0686b404
@@ -55,9 +55,9 @@ function(generate_shared_lib LIB_NAME MOCKABLE)
|
||||
)
|
||||
else()
|
||||
target_include_directories(${LIB_NAME} PUBLIC
|
||||
${I915_INCLUDES_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/os_interface/linux
|
||||
)
|
||||
|
||||
endif()
|
||||
|
||||
create_project_source_tree(${LIB_NAME})
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include <sys/ioctl.h>
|
||||
namespace NEO {
|
||||
namespace PrelimI915 {
|
||||
#include "third_party/uapi/prelim/drm/i915_drm.h"
|
||||
#include "drm/i915_drm_prelim.h"
|
||||
}
|
||||
} // namespace NEO
|
||||
using NEO::PrelimI915::drm_gem_close;
|
||||
|
||||
Reference in New Issue
Block a user