mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
Closes: https://bugs.gentoo.org/945875 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
13 lines
538 B
Diff
13 lines
538 B
Diff
hipcc files are already installed by dev-util/hipcc, which is a runtime dep
|
|
--- a/hipamd/CMakeLists.txt
|
|
+++ b/hipamd/CMakeLists.txt
|
|
@@ -393,7 +393,7 @@ endif()
|
|
install(FILES ${PROJECT_BINARY_DIR}/include/hip/hip_version.h
|
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/hip)
|
|
|
|
-if (NOT ${HIPCC_BIN_DIR} STREQUAL "")
|
|
+if (INSTALL_HIPCC AND NOT ${HIPCC_BIN_DIR} STREQUAL "")
|
|
file(TO_CMAKE_PATH "${HIPCC_BIN_DIR}" HIPCC_BIN_DIR)
|
|
if(EXISTS ${HIPCC_BIN_DIR})
|
|
install(PROGRAMS ${HIPCC_BIN_DIR}/${HIPCC_EXECUTABLE} DESTINATION bin)
|