Skip to content

Commit 952a777

Browse files
committed
build: updated version and soversion to <major>.<minor> and <major> respectively
1 parent 553c23f commit 952a777

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ endif()
7373
add_library(${LIB_NAME}
7474
${MKLDNN_LIBRARY_TYPE} ${HEADERS} ${${LIB_NAME}_SUB_OBJS})
7575

76-
set_property(TARGET ${LIB_NAME} PROPERTY VERSION "${PROJECT_VERSION}.0")
77-
set_property(TARGET ${LIB_NAME} PROPERTY SOVERSION "0")
76+
set_property(TARGET ${LIB_NAME} PROPERTY VERSION "${MKLDNN_VERSION_MAJOR}.${MKLDNN_VERSION_MINOR}")
77+
set_property(TARGET ${LIB_NAME} PROPERTY SOVERSION "${MKLDNN_VERSION_MAJOR}")
7878
set_property(TARGET ${LIB_NAME} PROPERTY PUBLIC_HEADER ${HEADERS})
7979

8080
target_include_directories(${LIB_NAME} PUBLIC

0 commit comments

Comments
 (0)