[mlir] Fix CMake option for enabling SPIR-V CPU runner
authorLei Zhang <antiagainst@google.com>
Thu, 29 Jul 2021 20:21:26 +0000 (16:21 -0400)
committerLei Zhang <antiagainst@google.com>
Thu, 29 Jul 2021 20:34:09 +0000 (16:34 -0400)
Reviewed By: hanchung

Differential Revision: https://reviews.llvm.org/D107092

mlir/tools/mlir-spirv-cpu-runner/CMakeLists.txt

index 99d0fc8..aeb7100 100644 (file)
@@ -2,7 +2,7 @@ set(LLVM_LINK_COMPONENTS
   Linker
 )
 
-if (MLIR_SPIRV_CPU_RUNNER_ENABLED)
+if (MLIR_ENABLE_SPIRV_CPU_RUNNER)
   message(STATUS "Building SPIR-V CPU runner")
 
   add_llvm_tool(mlir-spirv-cpu-runner