diff --git a/mlir/tools/mlir-cpu-runner/CMakeLists.txt b/mlir/tools/mlir-cpu-runner/CMakeLists.txt --- a/mlir/tools/mlir-cpu-runner/CMakeLists.txt +++ b/mlir/tools/mlir-cpu-runner/CMakeLists.txt @@ -1,4 +1,4 @@ -add_llvm_executable(mlir-cpu-runner +add_llvm_tool(mlir-cpu-runner mlir-cpu-runner.cpp ) llvm_update_compile_flags(mlir-cpu-runner) diff --git a/mlir/tools/mlir-cuda-runner/CMakeLists.txt b/mlir/tools/mlir-cuda-runner/CMakeLists.txt --- a/mlir/tools/mlir-cuda-runner/CMakeLists.txt +++ b/mlir/tools/mlir-cuda-runner/CMakeLists.txt @@ -60,7 +60,7 @@ LLVMSupport ${CUDA_RUNTIME_LIBRARY} ) - add_llvm_executable(mlir-cuda-runner + add_llvm_tool(mlir-cuda-runner mlir-cuda-runner.cpp ) add_dependencies(mlir-cuda-runner cuda-runtime-wrappers) diff --git a/mlir/tools/mlir-translate/CMakeLists.txt b/mlir/tools/mlir-translate/CMakeLists.txt --- a/mlir/tools/mlir-translate/CMakeLists.txt +++ b/mlir/tools/mlir-translate/CMakeLists.txt @@ -9,7 +9,7 @@ MLIRTranslation MLIRSupport ) -add_llvm_executable(mlir-translate +add_llvm_tool(mlir-translate mlir-translate.cpp ) llvm_update_compile_flags(mlir-translate)