From e2551bd15c376d1bfd8cc8622ccf1949a68c5f23 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 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3214df61ca..c7bb64e098 100755 --- a/CMakeLists.txt +++ b/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)