openxr/openxr-1.0.12-soversion.patch
Luya Tshimbalanga 981f9d3cee
Add patch for .so versioning
Remove tab spacing
Drop Group tag
2020-11-10 00:19:57 -08:00

17 lines
859 B
Diff

--- OpenXR-SDK-Source-release-1.0.12/src/api_layers/CMakeLists.txt.orig 2020-09-25 19:21:55.000000000 -0700
+++ OpenXR-SDK-Source-release-1.0.12/src/api_layers/CMakeLists.txt 2020-11-08 11:41:38.471517626 -0800
@@ -198,9 +198,12 @@ elseif(APPLE)
else()
# Linux api_dump-specific information
set_target_properties(XrApiLayer_api_dump PROPERTIES LINK_FLAGS "-Wl,-Bsymbolic,--exclude-libs,ALL")
-
+ set_target_properties(XrApiLayer_api_dump PROPERTIES OUTPUT_NAME XrApiLayer_api_dump
+ SOVERSION 1)
# Linux core_validation-specific information
set_target_properties(XrApiLayer_core_validation PROPERTIES LINK_FLAGS "-Wl,-Bsymbolic,--exclude-libs,ALL")
+ set_target_properties(XrApiLayer_core_validation PROPERTIES OUTPUT_NAME XrApiLayer_core_validation
+ SOVERSION 1)
endif()
# Install explicit layers on Linux