Skip to content

Commit

Permalink
policy
Browse files Browse the repository at this point in the history
  • Loading branch information
apwojcik committed Feb 3, 2025
1 parent 5cad3ec commit 17f1343
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmake/onnxruntime_providers_migraphx.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@
# Add search paths for default rocm installation
list(APPEND CMAKE_PREFIX_PATH /opt/rocm/hcc /opt/rocm/hip /opt/rocm $ENV{HIP_PATH})

# Suppress the warning about the small capitals of the package name - Enable when support to CMake 3.27.0 is used
# cmake_policy(SET CMP0144 NEW)
if(POLICY CMP0144)
# Suppress the warning about the small capitals of the package name
cmake_policy(SET CMP0144 NEW)
endif()

if(WIN32 AND NOT HIP_PLATFORM)
set(HIP_PLATFORM "amd")
Expand Down

0 comments on commit 17f1343

Please sign in to comment.