diff --git a/hipamd/CMakeLists.txt b/hipamd/CMakeLists.txt index 5073dc0905..a71d847af7 100644 --- a/hipamd/CMakeLists.txt +++ b/hipamd/CMakeLists.txt @@ -200,10 +200,7 @@ endif() if(HIP_PLATFORM STREQUAL "hcc") find_package(amd_comgr REQUIRED CONFIG PATHS - /opt/rocm/ - PATH_SUFFIXES - cmake/amd_comgr - lib/cmake/amd_comgr + /opt/rocm/lib/cmake/amd_comgr ) MESSAGE(STATUS "Code Object Manager found at ${amd_comgr_DIR}.") endif()