2016-06-13 12:20:39 +02:00
|
|
|
From: Jan Engelhardt <jengelh@inai.de>
|
|
|
|
Date: 2016-06-13 11:46:16.846841814 +0200
|
|
|
|
|
|
|
|
Unversioned libraries suck!
|
|
|
|
|
|
|
|
---
|
2017-08-07 18:37:37 +02:00
|
|
|
source/CMakeLists.txt | 1 +
|
|
|
|
source/comp/CMakeLists.txt | 1 +
|
2017-11-17 14:56:14 +01:00
|
|
|
source/link/CMakeLists.txt | 1 +
|
2017-08-07 18:37:37 +02:00
|
|
|
source/opt/CMakeLists.txt | 1 +
|
2017-11-17 14:56:14 +01:00
|
|
|
4 files changed, 4 insertions(+)
|
2016-06-13 12:20:39 +02:00
|
|
|
|
2017-11-17 14:56:14 +01:00
|
|
|
Index: spirv-tools-2017.0.g103/source/CMakeLists.txt
|
2016-06-13 12:20:39 +02:00
|
|
|
===================================================================
|
2017-11-17 14:56:14 +01:00
|
|
|
--- spirv-tools-2017.0.g103.orig/source/CMakeLists.txt
|
|
|
|
+++ spirv-tools-2017.0.g103/source/CMakeLists.txt
|
|
|
|
@@ -288,6 +288,7 @@ set_source_files_properties(
|
2017-02-02 12:04:34 +01:00
|
|
|
PROPERTIES OBJECT_DEPENDS "${SPIRV_TOOLS_BUILD_VERSION_INC}")
|
2016-06-13 12:20:39 +02:00
|
|
|
|
2017-02-02 12:04:34 +01:00
|
|
|
add_library(${SPIRV_TOOLS} ${SPIRV_SOURCES})
|
2017-08-07 18:37:37 +02:00
|
|
|
+set_target_properties(${SPIRV_TOOLS} PROPERTIES SOVERSION suse3)
|
2017-02-02 12:04:34 +01:00
|
|
|
spvtools_default_compile_options(${SPIRV_TOOLS})
|
|
|
|
target_include_directories(${SPIRV_TOOLS}
|
|
|
|
PUBLIC ${spirv-tools_SOURCE_DIR}/include
|
2017-11-17 14:56:14 +01:00
|
|
|
Index: spirv-tools-2017.0.g103/source/comp/CMakeLists.txt
|
2017-02-02 12:04:34 +01:00
|
|
|
===================================================================
|
2017-11-17 14:56:14 +01:00
|
|
|
--- spirv-tools-2017.0.g103.orig/source/comp/CMakeLists.txt
|
|
|
|
+++ spirv-tools-2017.0.g103/source/comp/CMakeLists.txt
|
|
|
|
@@ -14,6 +14,7 @@
|
2017-08-07 18:37:37 +02:00
|
|
|
|
2017-11-17 14:56:14 +01:00
|
|
|
if(SPIRV_BUILD_COMPRESSION)
|
|
|
|
add_library(SPIRV-Tools-comp markv_codec.cpp)
|
|
|
|
+ set_target_properties(SPIRV-Tools-comp PROPERTIES SOVERSION suse4)
|
2017-08-07 18:37:37 +02:00
|
|
|
|
2017-11-17 14:56:14 +01:00
|
|
|
spvtools_default_compile_options(SPIRV-Tools-comp)
|
|
|
|
target_include_directories(SPIRV-Tools-comp
|
|
|
|
Index: spirv-tools-2017.0.g103/source/link/CMakeLists.txt
|
2017-08-07 18:37:37 +02:00
|
|
|
===================================================================
|
2017-11-17 14:56:14 +01:00
|
|
|
--- spirv-tools-2017.0.g103.orig/source/link/CMakeLists.txt
|
|
|
|
+++ spirv-tools-2017.0.g103/source/link/CMakeLists.txt
|
|
|
|
@@ -14,6 +14,7 @@
|
|
|
|
add_library(SPIRV-Tools-link
|
|
|
|
linker.cpp
|
|
|
|
)
|
|
|
|
+set_target_properties(SPIRV-Tools-link PROPERTIES SOVERSION suse4)
|
|
|
|
|
|
|
|
spvtools_default_compile_options(SPIRV-Tools-link)
|
|
|
|
target_include_directories(SPIRV-Tools-link
|
|
|
|
Index: spirv-tools-2017.0.g103/source/opt/CMakeLists.txt
|
|
|
|
===================================================================
|
|
|
|
--- spirv-tools-2017.0.g103.orig/source/opt/CMakeLists.txt
|
|
|
|
+++ spirv-tools-2017.0.g103/source/opt/CMakeLists.txt
|
|
|
|
@@ -106,6 +106,7 @@ add_library(SPIRV-Tools-opt
|
|
|
|
instruction_list.cpp
|
2017-02-02 12:04:34 +01:00
|
|
|
)
|
2016-06-13 12:20:39 +02:00
|
|
|
|
2017-08-07 18:37:37 +02:00
|
|
|
+set_target_properties(SPIRV-Tools-opt PROPERTIES SOVERSION suse3)
|
2017-02-02 12:04:34 +01:00
|
|
|
spvtools_default_compile_options(SPIRV-Tools-opt)
|
|
|
|
target_include_directories(SPIRV-Tools-opt
|
|
|
|
PUBLIC ${spirv-tools_SOURCE_DIR}/include
|