[Mlir-commits] [mlir] 3643828 - [CMake][mlir] Fix mlir-linalg-ods-gen/CMakeLists.txt after D96645
Fangrui Song
llvmlistbot at llvm.org
Sat Feb 13 14:16:46 PST 2021
Author: Fangrui Song
Date: 2021-02-13T14:16:38-08:00
New Revision: 3643828b514769295632807001808060872cd0e0
URL: https://github.com/llvm/llvm-project/commit/3643828b514769295632807001808060872cd0e0
DIFF: https://github.com/llvm/llvm-project/commit/3643828b514769295632807001808060872cd0e0.diff
LOG: [CMake][mlir] Fix mlir-linalg-ods-gen/CMakeLists.txt after D96645
Added:
Modified:
mlir/tools/mlir-linalg-ods-gen/CMakeLists.txt
Removed:
################################################################################
diff --git a/mlir/tools/mlir-linalg-ods-gen/CMakeLists.txt b/mlir/tools/mlir-linalg-ods-gen/CMakeLists.txt
index 22b350a10ac2..c1a594389beb 100644
--- a/mlir/tools/mlir-linalg-ods-gen/CMakeLists.txt
+++ b/mlir/tools/mlir-linalg-ods-gen/CMakeLists.txt
@@ -18,7 +18,7 @@ set(MLIR_LINALG_ODS_GEN_EXE ${MLIR_LINALG_ODS_GEN} PARENT_SCOPE)
set(MLIR_LINALG_ODS_GEN_TARGET mlir-linalg-ods-gen PARENT_SCOPE)
if(LLVM_USE_HOST_TOOLS)
- if (${MLIR_LINALG_ODS_GEN_EXE} STREQUAL mlir-linalg-ods-gen)
+ if ("${MLIR_LINALG_ODS_GEN_EXE}" STREQUAL mlir-linalg-ods-gen)
build_native_tool(mlir-linalg-ods-gen MLIR_LINALG_ODS_GEN_EXE DEPENDS mlir-linalg-ods-gen)
set(MLIR_LINALG_ODS_GEN_EXE ${MLIR_LINALG_ODS_GEN_EXE} PARENT_SCOPE)
More information about the Mlir-commits
mailing list