mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-06-29 19:28:33 +00:00
Update CMakeLists.txt
This commit is contained in:
@@ -16,6 +16,10 @@ set(CMAKE_INSTALL_PREFIX "/opt/rocm" CACHE PATH "")
|
||||
list(APPEND CMAKE_PREFIX_PATH /opt/rocm /opt/rocm/llvm $ENV{ROCM_PATH} $ENV{HIP_PATH})
|
||||
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
|
||||
|
||||
if(NOT ROCmCMakeBuildTools_DIR)
|
||||
set(ROCmCMakeBuildTools_DIR "/opt/rocm/lib/cmake/ROCmCMakeBuildTools")
|
||||
endif()
|
||||
|
||||
find_package(ROCmCMakeBuildTools REQUIRED)
|
||||
|
||||
include(ROCMInstallTargets)
|
||||
|
||||
Reference in New Issue
Block a user