Fix build failure due to hiprtc for HIP-Clang

이 커밋은 다음에 포함됨:
Yaxun Sam Liu
2019-05-17 09:52:43 -04:00
부모 633323c981
커밋 d088a8c23b
+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)