From 028276ac0eec0e84a9401e23096a1a54b54eeebe Mon Sep 17 00:00:00 2001 From: "Tung D. Le" Date: Tue, 26 May 2020 17:05:00 +0900 Subject: [PATCH] Fix cruntime not existed (#149) Co-authored-by: Tung D. Le Co-authored-by: Tian Jin Co-authored-by: Tian Jin --- src/CMakeLists.txt | 2 -- src/Runtime/CMakeLists.txt | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 16f9b83..febd746 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -66,5 +66,3 @@ target_include_directories(onnx-mlir PRIVATE ${CMAKE_BINARY_DIR}) target_include_directories(onnx-mlir PRIVATE ${ONNX_MLIR_BIN_ROOT}) install(TARGETS onnx-mlir DESTINATION bin) -install(FILES Runtime/DynMemRef.h DESTINATION include) -install(TARGETS cruntime DESTINATION lib) diff --git a/src/Runtime/CMakeLists.txt b/src/Runtime/CMakeLists.txt index d091d70..75f3c78 100644 --- a/src/Runtime/CMakeLists.txt +++ b/src/Runtime/CMakeLists.txt @@ -18,3 +18,5 @@ target_include_directories(pyruntime PRIVATE ${ONNX_MLIR_SRC_ROOT} ${ONNX_MLIR_BIN_ROOT} ${ONNX_MLIR_SRC_ROOT}) add_dependencies(pyruntime cruntime) +install(FILES Runtime/DynMemRef.h DESTINATION include) +install(TARGETS cruntime DESTINATION lib)