Fix build failure due to hiprtc for HIP-Clang

[ROCm/hip commit: 21c179755b]
此提交包含在:
Yaxun Sam Liu committed 2019-05-17 09:52:43 -04:00
1 父節點 ca5d1e1ce6
當前提交 6735bcf35f
1 file changed
+5 -1
+5 -1
查看文件
@@ -303,7 +303,11 @@ endif()
#############################
# Install hip_hcc if platform is hcc
if(HIP_PLATFORM STREQUAL "hcc")
install(TARGETS hip_hcc_static hip_hcc hiprtc DESTINATION lib)
if(HIP_COMPILER STREQUAL "hcc")
install(TARGETS hip_hcc_static hip_hcc hiprtc DESTINATION lib)
else()
install(TARGETS hip_hcc_static hip_hcc DESTINATION lib)
endif()
# Install .hipInfo
install(FILES ${PROJECT_BINARY_DIR}/.hipInfo DESTINATION lib)