build: set SOVERSION on all libraries

Commit fbe9a23baf erroneously
only added SOVERSION to libglslang.so, but none of the others
that are produced.

Signed-off-by: Jan Engelhardt <jengelh@inai.de>
This commit is contained in:
Jan Engelhardt
2020-08-18 17:12:16 +02:00
committed by arcady-lunarg
parent d62ef8a20a
commit 4386679bcd
3 changed files with 4 additions and 0 deletions

View File

@@ -40,6 +40,7 @@
add_library(HLSL ${LIB_TYPE} "stub.cpp")
set_property(TARGET HLSL PROPERTY FOLDER hlsl)
set_property(TARGET HLSL PROPERTY POSITION_INDEPENDENT_CODE ON)
set_target_properties(HLSL PROPERTIES VERSION "${GLSLANG_VERSION}" SOVERSION "${GLSLANG_VERSION_MAJOR}")
if(WIN32 AND BUILD_SHARED_LIBS)
set_target_properties(HLSL PROPERTIES PREFIX "")