forked from qt-creator/qt-creator
CMake build: Fix version number in library file names
Make it compatible with the qmake build, with just the major version. Change-Id: I3134b21b4775e7e83d135652dd66a51f3bdf91ab Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -466,6 +466,7 @@ function(add_qtc_library name)
|
||||
set_target_properties(${name} PROPERTIES
|
||||
SOURCES_DIR "${CMAKE_CURRENT_SOURCE_DIR}"
|
||||
VERSION "${IDE_VERSION}"
|
||||
SOVERSION "${PROJECT_VERSION_MAJOR}"
|
||||
CXX_VISIBILITY_PRESET hidden
|
||||
VISIBILITY_INLINES_HIDDEN ON
|
||||
BUILD_RPATH "${_LIB_RPATH}"
|
||||
|
Reference in New Issue
Block a user