Skip to content

Missing SOVERSION #407

@mia-0

Description

@mia-0

On platforms like Linux, shared libraries should have a SOVERSION which states the API version of that library. This is important if you want distros to pick up any of your libraries.

To do this, simply add a line like this in libshaderc/CMakeLists.txt:

set_target_properties(shaderc_shared PROPERTIES SOVERSION 1)

where 1 is the API version.

See also: https://cmake.org/cmake/help/latest/prop_tgt/SOVERSION.html

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions