From 8f9f9a47fff667bf2849335ca0a86ab39ed7dade Mon Sep 17 00:00:00 2001 From: Felix Kuehling Date: Tue, 20 Aug 2019 17:21:30 -0400 Subject: [PATCH] kfdtest: Use hsakmt header files from source tree Instead of the installed hsakmt header files, use the ones from the source tree, since they are in the same git repository. This allows using kfd_ioctl.h even when we don't install this file with an upcoming change. Change-Id: I9a30abd5445806d2141bdb1ccd88d3794a74ed20 Signed-off-by: Felix Kuehling --- tests/kfdtest/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/kfdtest/CMakeLists.txt b/tests/kfdtest/CMakeLists.txt index 523d70356f..3d56abf132 100644 --- a/tests/kfdtest/CMakeLists.txt +++ b/tests/kfdtest/CMakeLists.txt @@ -60,7 +60,6 @@ else() endif() if( DEFINED LIBHSAKMT_PATH ) - set ( HSAKMT_INCLUDE_DIRS ${LIBHSAKMT_PATH}/include ) set ( HSAKMT_LIBRARY_DIRS ${LIBHSAKMT_PATH}/lib ) set ( HSAKMT_LIBRARIES hsakmt ) endif() @@ -71,9 +70,9 @@ set ( SP3_DIR ${PROJECT_SOURCE_DIR}/sp3 ) include_directories(${PROJECT_SOURCE_DIR}/gtest-1.6.0) include_directories(${PROJECT_SOURCE_DIR}/include) +include_directories(${PROJECT_SOURCE_DIR}/../../include) include_directories(${SP3_DIR}) -include_directories(${HSAKMT_INCLUDE_DIRS}) include_directories(${DRM_INCLUDE_DIRS}) aux_source_directory(${PROJECT_SOURCE_DIR}/gtest-1.6.0 SRC_FILES)