Skip to content

Commit 3b19319

Browse files
committed
Misc. cleanups
1 parent c95e8f7 commit 3b19319

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

amd/hipcc/CMakeLists.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set(hipcc_NAME "${PROJECT_NAME}")
66
include(CMakePackageConfigHelpers)
77
include(GNUInstallDirs)
88

9-
find_package(ROCM)
9+
find_package(ROCM QUIET)
1010
if(ROCM_FOUND)
1111
include(ROCMSetupVersion)
1212
rocm_setup_version(VERSION "${hipcc_VERSION}")
@@ -106,12 +106,14 @@ install(TARGETS ${HIPCC_BIN}
106106
install(TARGETS ${HIPCONFIG_BIN}
107107
COMPONENT ${hipcc_NAME}
108108
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
109-
# TODO: WIN32 check need to be removed if backward compatibility is required for WIN32
109+
110+
# TODO: WIN32 check need to be removed if backward
111+
# compatibility is required for WIN32.
110112
option(HIPCC_BACKWARD_COMPATIBILITY "Enable HIPCC backward compatibility" ON)
111113
if(NOT WIN32)
112-
if(HIPCC_BACKWARD_COMPATIBILITY)
113-
include(hipcc-backward-compat.cmake)
114-
endif()
114+
if(HIPCC_BACKWARD_COMPATIBILITY)
115+
include(hipcc-backward-compat.cmake)
116+
endif()
115117
endif()
116118

117119
include(CPack)

0 commit comments

Comments
 (0)