diff options
author | Kevin Funk <kevin.funk@kdab.com> | 2019-02-12 11:20:22 +0100 |
---|---|---|
committer | Kevin Funk <kevin.funk@kdab.com> | 2019-02-12 11:08:28 +0000 |
commit | b3560a66ae731599906a70bff19e38face2d9482 (patch) | |
tree | 917724642a3785200fbb7db004f8130fd473bc23 /cmake | |
parent | 7b434c0287a67eb58413b7f5781d849d2080786f (diff) |
cmake: Set up VERSION/SOVERSION properly
Change-Id: Ic8cddf5ec8182873a6b1e03c76f514284b423322
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/QtBuild.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake index a90d09564e..a340ca0d6a 100644 --- a/cmake/QtBuild.cmake +++ b/cmake/QtBuild.cmake @@ -450,6 +450,8 @@ function(add_qt_module target) set_target_properties("${target}" PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${INSTALL_LIBDIR}" RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${INSTALL_BINDIR}" + VERSION ${PROJECT_VERSION} + SOVERSION ${PROJECT_VERSION_MAJOR} OUTPUT_NAME "${module_versioned}") qt_internal_library_deprecation_level(deprecation_define) |