diff --git a/CMakeLists.txt b/CMakeLists.txt index c5e760095694..cc6811d94001 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -200,6 +200,8 @@ include(cmake/modules/contrib/NNPack.cmake) include(cmake/modules/contrib/HybridDump.cmake) add_library(tvm SHARED ${COMPILER_SRCS} ${RUNTIME_SRCS}) +# Create the lib version where 0.5 is the current TVM version and 1 is the MS patch version +set_target_properties(tvm PROPERTIES VERSION 0.5.1) add_library(tvm_topi SHARED ${TOPI_SRCS}) add_library(tvm_runtime SHARED ${RUNTIME_SRCS}) if(NOT USE_SGX STREQUAL "OFF")