File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ set(hipcc_NAME "${PROJECT_NAME}")
6
6
include (CMakePackageConfigHelpers )
7
7
include (GNUInstallDirs )
8
8
9
- find_package (ROCM )
9
+ find_package (ROCM QUIET )
10
10
if (ROCM_FOUND )
11
11
include (ROCMSetupVersion )
12
12
rocm_setup_version (VERSION "${hipcc_VERSION} " )
@@ -106,12 +106,14 @@ install(TARGETS ${HIPCC_BIN}
106
106
install (TARGETS ${HIPCONFIG_BIN}
107
107
COMPONENT ${hipcc_NAME}
108
108
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.
110
112
option (HIPCC_BACKWARD_COMPATIBILITY "Enable HIPCC backward compatibility" ON )
111
113
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 ()
115
117
endif ()
116
118
117
119
include (CPack )
You can’t perform that action at this time.
0 commit comments