From 04e20833784ed35f1e28227a262e287a80fd6c1b Mon Sep 17 00:00:00 2001 From: Satyanvesh Dittakavi Date: Wed, 27 Jan 2021 01:59:36 -0500 Subject: [PATCH] SWDEV-269440 - Fix build error in HIP-CUDA path Change-Id: Icf5763449ccec333d9efda90ffe3a86fb53bdb81 [ROCm/clr commit: 4d61107615f7c83773c5ffb3a13a81ac1b1e1a4a] --- projects/clr/hipamd/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/clr/hipamd/CMakeLists.txt b/projects/clr/hipamd/CMakeLists.txt index 3214df61ca..c7bb64e098 100755 --- a/projects/clr/hipamd/CMakeLists.txt +++ b/projects/clr/hipamd/CMakeLists.txt @@ -330,8 +330,10 @@ endif() # Install generated headers # FIXME: Associate with individual targets. +if(HIP_PLATFORM STREQUAL "amd") install(FILES ${PROJECT_BINARY_DIR}/include/hip/amd_detail/hip_prof_str.h DESTINATION include/hip/amd_detail) +endif() install(FILES ${PROJECT_BINARY_DIR}/include/hip/hip_version.h DESTINATION include/hip)