add CMAKE_PREFIX_PATH so rocr can find hsakmt cmake .  in ROCm 3.7 HSAKMT_INC_PATH is no longer used in cmake
@@ -82,7 +82,7 @@ if [ "$1" != "nocmake" ] && [ "$1" != "install" ] ; then
BUILDTYPE="Release"
echo rm -rf $BUILD_AOMP/build/rocr
rm -rf $BUILD_AOMP/build/rocr
- MYCMAKEOPTS="-DCMAKE_INSTALL_PREFIX=$INSTALL_ROCM -DCMAKE_BUILD_TYPE=$BUILDTYPE -DHSAKMT_INC_PATH=$ROCT_DIR/include -DHSAKMT_LIB_PATH=$ROCT_DIR/lib $AOMP_ORIGIN_RPATH"
+ MYCMAKEOPTS="-DCMAKE_INSTALL_PREFIX=$INSTALL_ROCM -DCMAKE_BUILD_TYPE=$BUILDTYPE -DCMAKE_PREFIX_PATH=$ROCM_DIR -DHSAKMT_LIB_PATH=$ROCT_DIR/lib $AOMP_ORIGIN_RPATH"
mkdir -p $BUILD_AOMP/build/rocr
cd $BUILD_AOMP/build/rocr
echo " -----Running rocr cmake ---- "
