--- tools/converter/CMakeLists.txt.orig 2020-05-23 09:34:50 UTC +++ tools/converter/CMakeLists.txt @@ -40,6 +40,7 @@ IF(MNN_BUILD_CONVERTER) IF(MNN_BUILD_SHARED_LIBS) add_library(MNNConvertDeps SHARED ${COMMON_SRC} ${MNN_CONVERTER_BACKENDS_OBJECTS} ${CMAKE_CURRENT_LIST_DIR}/../../3rd_party/flatbuffers/src/util.cpp) add_dependencies(MNNConvertDeps MNN) + install(TARGETS MNNConvertDeps LIBRARY DESTINATION lib) ELSE() add_library(MNNConvertDeps STATIC ${COMMON_SRC} ${MNN_CONVERTER_BACKENDS_OBJECTS} ${CMAKE_CURRENT_LIST_DIR}/../../3rd_party/flatbuffers/src/util.cpp) ENDIF()