diff --git a/CMakeLists.txt b/CMakeLists.txt index 95ce8a6a..0b458638 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -351,3 +351,6 @@ if (SQLITECPP_BUILD_TESTS) else (SQLITECPP_BUILD_TESTS) message(STATUS "SQLITECPP_BUILD_TESTS OFF") endif (SQLITECPP_BUILD_TESTS) + +# API version for SQLiteCpp shared library. +set_property(TARGET SQLiteCpp PROPERTY SOVERSION 0)