toxcore/cmake
Carsten Brandt 6ec23c98bd
Add soversion to library files to generate proper symlinks
As mentioned in https://github.com/TokTok/c-toxcore/issues/359#issuecomment-270710463
the current CMake build does not generate version symlinks for library .so files.
This is because the version is not specified for library targets.

See
- https://cmake.org/cmake/help/v3.0/prop_tgt/SOVERSION.html#prop_tgt:SOVERSION
- https://cmake.org/cmake/help/v3.0/prop_tgt/VERSION.html#prop_tgt:VERSION

Use PROJECT_VERSION_MAJOR and MINOR for SOVERSION because
api may break from 0.1 to 0.2 in the 0.x release cycle.
2017-01-08 19:18:06 +01:00
..
ApiDsl.cmake Error if format_test can't be executed. 2016-10-26 13:34:29 +01:00
MacRpath.cmake Install libraries with RPATH. 2016-10-11 14:05:41 +02:00
ModulePackage.cmake Add soversion to library files to generate proper symlinks 2017-01-08 19:18:06 +01:00