Skip to content

Commit

Permalink
Only use DEPRECATED
Browse files Browse the repository at this point in the history
  • Loading branch information
lawruble13 committed Feb 15, 2024
1 parent a36e4a8 commit e5396f3
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions share/rocm/cmake/ROCMConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,7 @@ get_filename_component(_new_rocmcmakebuildtools_path "${_new_rocmcmakebuildtools
get_filename_component(_new_rocmcmakebuildtools_path_linux "${_new_rocmcmakebuildtools_path}" DIRECTORY)

# Emit deprecation message
set(_rocm_deprecation_message "The 'ROCM' CMake package is deprecated. Please use 'ROCmCMakeBuildTools' instead.")
if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.17.0")
message(DEPRECATION "${_rocm_deprecation_message}")
else()
message(AUTHOR_WARNING "${_rocm_deprecation_message}")
endif()
unset(_rocm_deprecation_message)
message(DEPRECATION "The 'ROCM' CMake package is deprecated. Please use 'ROCmCMakeBuildTools' instead.")

include(CMakeFindDependencyMacro)

Expand Down

0 comments on commit e5396f3

Please sign in to comment.