We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84e8274 commit 6baef84Copy full SHA for 6baef84
mlir/lib/Target/LLVM/CMakeLists.txt
@@ -59,7 +59,7 @@ if ("NVPTX" IN_LIST LLVM_TARGETS_TO_BUILD)
59
# See: https://gitlab.kitware.com/cmake/cmake/-/issues/24858
60
# TODO: Bump the MLIR CMake version to 3.26.4 and switch to
61
# ${CUDAToolkit_LIBRARY_ROOT}
62
- if(NOT DEFINED ${CUDAToolkit_LIBRARY_ROOT})
+ if(NOT DEFINED CUDAToolkit_LIBRARY_ROOT)
63
get_filename_component(MLIR_CUDAToolkit_ROOT ${CUDAToolkit_BIN_DIR}
64
DIRECTORY ABSOLUTE)
65
else()
0 commit comments