From 37be0e449ab8adae3b932f61ce6e36e35eac76e9 Mon Sep 17 00:00:00 2001 From: Vladislav Sytchenko Date: Thu, 10 Jun 2021 09:30:38 -0400 Subject: [PATCH] SWDEV-288707 - Fix build Currently build is only passing because amdhip64 is being built with headers from /opt/rocm/include. It should be using the headers from the hipamd project. Change-Id: I27cb64b460547ef281d368322afac376fa49db51 --- hipamd/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hipamd/CMakeLists.txt b/hipamd/CMakeLists.txt index f7460d5721..29a8f9b75a 100755 --- a/hipamd/CMakeLists.txt +++ b/hipamd/CMakeLists.txt @@ -127,7 +127,7 @@ endif() target_include_directories(amdhip64 PRIVATE - ${PROJECT_SOURCE_DIR}/src/hipamd/include + ${CMAKE_CURRENT_LIST_DIR}/include ${PROJECT_SOURCE_DIR}/include ${PROJECT_BINARY_DIR}/include)