Jan Engelhardt 2018-08-25 15:22:09 +00:00 committed by Git OBS Bridge
parent b0b0cdcad7
commit 8111bc3915

View File

@ -5,8 +5,10 @@ Unversioned libraries suck!
---
SPIRV/CMakeLists.txt | 2 ++
StandAlone/CMakeLists.txt | 1 +
glslang/CMakeLists.txt | 1 +
hlsl/CMakeLists.txt | 1 +
2 files changed, 3 insertions(+)
4 files changed, 5 insertions(+)
Index: glslang-7.8.2853.g9/SPIRV/CMakeLists.txt
===================================================================
@ -27,6 +29,29 @@ Index: glslang-7.8.2853.g9/SPIRV/CMakeLists.txt
set_property(TARGET SPVRemapper PROPERTY FOLDER glslang)
set_property(TARGET SPVRemapper PROPERTY POSITION_INDEPENDENT_CODE ON)
endif()
Index: glslang-7.8.2853.g9/StandAlone/CMakeLists.txt
===================================================================
--- glslang-7.8.2853.g9.orig/StandAlone/CMakeLists.txt
+++ glslang-7.8.2853.g9/StandAlone/CMakeLists.txt
@@ -1,5 +1,6 @@
add_library(glslang-default-resource-limits
${CMAKE_CURRENT_SOURCE_DIR}/ResourceLimits.cpp)
+set_target_properties(glslang-default-resource-limits PROPERTIES SOVERSION suse1)
set_property(TARGET glslang-default-resource-limits PROPERTY FOLDER glslang)
set_property(TARGET glslang-default-resource-limits PROPERTY POSITION_INDEPENDENT_CODE ON)
Index: glslang-7.8.2853.g9/glslang/CMakeLists.txt
===================================================================
--- glslang-7.8.2853.g9.orig/glslang/CMakeLists.txt
+++ glslang-7.8.2853.g9/glslang/CMakeLists.txt
@@ -81,6 +81,7 @@ set(HEADERS
# set(BISON_GLSLParser_OUTPUT_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/MachineIndependent/glslang_tab.cpp)
add_library(glslang ${LIB_TYPE} ${BISON_GLSLParser_OUTPUT_SOURCE} ${SOURCES} ${HEADERS})
+set_target_properties(glslang PROPERTIES SOVERSION suse1)
set_property(TARGET glslang PROPERTY FOLDER glslang)
set_property(TARGET glslang PROPERTY POSITION_INDEPENDENT_CODE ON)
target_link_libraries(glslang OGLCompiler OSDependent)
Index: glslang-7.8.2853.g9/hlsl/CMakeLists.txt
===================================================================
--- glslang-7.8.2853.g9.orig/hlsl/CMakeLists.txt