diff --git a/src/bindings/java/CMakeLists.txt b/src/bindings/java/CMakeLists.txt index ad0567c..d312e52 100644 --- a/src/bindings/java/CMakeLists.txt +++ b/src/bindings/java/CMakeLists.txt @@ -18,6 +18,7 @@ if (${JNI_FOUND} MATCHES "TRUE") add_library(openalprjni SHARED ${jni_source_files}) + set_target_properties(openalprjni PROPERTIES SOVERSION ${OPENALPR_MAJOR_VERSION}) TARGET_LINK_LIBRARIES(openalprjni openalpr) diff --git a/src/bindings/python/CMakeLists.txt b/src/bindings/python/CMakeLists.txt index 50226bf..6466d87 100644 --- a/src/bindings/python/CMakeLists.txt +++ b/src/bindings/python/CMakeLists.txt @@ -12,6 +12,7 @@ set(python_source_files add_library(openalprpy SHARED ${python_source_files}) +set_target_properties(openalprpy PROPERTIES SOVERSION ${OPENALPR_MAJOR_VERSION}) TARGET_LINK_LIBRARIES(openalprpy openalpr)