Skip to content

Commit aaf5c78

Browse files
committed
add SOVERSION, and requirements-build.txt
1 parent b6cf954 commit aaf5c78

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

requirements-build.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
cmake
2+
build

src/cpp/CMakeLists.txt

+5
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ target_compile_definitions(${TARGET_NAME} PRIVATE OPENVINO_TOKENIZERS_PATH=\"$<T
5959

6060
target_compile_features(${TARGET_NAME} PUBLIC cxx_std_17)
6161

62+
set_target_properties(${TARGET_NAME} PROPERTIES
63+
VERSION ${CMAKE_PROJECT_VERSION}
64+
SOVERSION ${CMAKE_PROJECT_VERSION_MAJOR}
65+
)
66+
6267
# Copy the library to python to allow skipping wheel installation
6368
add_custom_command(TARGET ${TARGET_NAME} POST_BUILD
6469
COMMAND "${CMAKE_COMMAND}" -E copy

0 commit comments

Comments
 (0)