Skip to content

Commit

Permalink
Set policy to use _ROOT variable
Browse files Browse the repository at this point in the history
  • Loading branch information
lawruble13 committed Nov 9, 2023
1 parent e72e1fe commit e3083d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions share/rocm/cmake/ROCMConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ get_filename_component(_new_rocmcmakebuildtools_path "${_new_rocmcmakebuildtools
set(ROCmCMakeBuildTools_ROOT "${_new_rocmcmakebuildtools_path}/rocmcmakebuildtools/cmake")

# this should find ROCmCMakeBuildTools using the ROCmCMakeBuildTools variable
cmake_policy(SET CMP0074 NEW)
find_package(ROCmCMakeBuildTools REQUIRED)

0 comments on commit e3083d7

Please sign in to comment.