diff options
author | Brad King <brad.king@kitware.com> | 2022-10-11 14:05:17 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-10-11 14:05:40 (GMT) |
commit | c5cb85e42ff2f31ffbe3f2dac1ed8529e1c0a9db (patch) | |
tree | a659fd66d5b625c92c71fe7d24babc66f2cfa095 /Modules | |
parent | 01768850b85b504f681128ab893b1aa6dd110010 (diff) | |
parent | 22051103b8ef2212a836e6287973e66cc5492195 (diff) | |
download | CMake-c5cb85e42ff2f31ffbe3f2dac1ed8529e1c0a9db.zip CMake-c5cb85e42ff2f31ffbe3f2dac1ed8529e1c0a9db.tar.gz CMake-c5cb85e42ff2f31ffbe3f2dac1ed8529e1c0a9db.tar.bz2 |
Merge topic 'required_hip_lang_package'
22051103b8 HIP: Find hip-lang-config.cmake with REQUIRED
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7771
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeHIPInformation.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeHIPInformation.cmake b/Modules/CMakeHIPInformation.cmake index 4c57677..33f8697 100644 --- a/Modules/CMakeHIPInformation.cmake +++ b/Modules/CMakeHIPInformation.cmake @@ -143,7 +143,7 @@ set(CMAKE_HIP_INFORMATION_LOADED 1) # Load the file and find the relevant HIP runtime. if(NOT DEFINED _CMAKE_HIP_DEVICE_RUNTIME_TARGET) set(hip-lang_DIR "${CMAKE_HIP_COMPILER_ROCM_ROOT}/lib/cmake/hip-lang") - find_package(hip-lang CONFIG QUIET NO_DEFAULT_PATH) + find_package(hip-lang CONFIG QUIET NO_DEFAULT_PATH REQUIRED) endif() if(DEFINED _CMAKE_HIP_DEVICE_RUNTIME_TARGET) list(APPEND CMAKE_HIP_RUNTIME_LIBRARIES_STATIC ${_CMAKE_HIP_DEVICE_RUNTIME_TARGET}) |