diff --git a/mlir/lib/ExecutionEngine/CMakeLists.txt b/mlir/lib/ExecutionEngine/CMakeLists.txt index dc20e5fd4622..37df71642440 100644 --- a/mlir/lib/ExecutionEngine/CMakeLists.txt +++ b/mlir/lib/ExecutionEngine/CMakeLists.txt @@ -36,11 +36,12 @@ target_link_libraries(MLIRExecutionEngine ${outlibs}) add_llvm_library(mlir_c_runner_utils SHARED CRunnerUtils.cpp) +add_llvm_library(mlir_c_runner_utils_static CRunnerUtils.cpp) target_compile_definitions(mlir_c_runner_utils PRIVATE mlir_c_runner_utils_EXPORTS) add_llvm_library(mlir_runner_utils SHARED RunnerUtils.cpp) target_link_libraries(mlir_runner_utils - mlir_c_runner_utils + mlir_c_runner_utils_static ) target_compile_definitions(mlir_runner_utils PRIVATE mlir_runner_utils_EXPORTS)