diff --git a/codegen/CMakeLists.txt b/codegen/CMakeLists.txt index 22d8e58d10..69a6a71de2 100644 --- a/codegen/CMakeLists.txt +++ b/codegen/CMakeLists.txt @@ -15,6 +15,7 @@ configure_file(${CK_ROOT}/include/ck/config.h.in ${CK_ROOT}/include/ck/config.h) find_package(ROCM) include(ROCMInstallTargets) include(ROCMTest) +list(APPEND CMAKE_PREFIX_PATH /opt/rocm $ENV{ROCM_PATH}) find_package(hiprtc REQUIRED) rocm_setup_version(VERSION 1.0)