upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / devil / trunk / soversion.patch
blobe80a305d9e044a6e5ba72ee578b4d19911885b90
1 From 1763633e5f7a8b86c293bd9a2f030961e77b0067 Mon Sep 17 00:00:00 2001
2 From: Juergen Buchmueller <pullmoll@t-online.de>
3 Date: Mon, 2 Jan 2017 16:48:55 +0100
4 Subject: [PATCH] Add solib version number to CMakeLists.txt
6 ---
7 DevIL/src-IL/CMakeLists.txt | 1 +
8 DevIL/src-ILU/CMakeLists.txt | 1 +
9 DevIL/src-ILUT/CMakeLists.txt | 1 +
10 3 files changed, 3 insertions(+)
12 diff --git a/DevIL/src-IL/CMakeLists.txt b/DevIL/src-IL/CMakeLists.txt
13 index 02e4f033..095f43e7 100644
14 --- a/DevIL/src-IL/CMakeLists.txt
15 +++ b/DevIL/src-IL/CMakeLists.txt
16 @@ -58,6 +58,7 @@ source_group("Text Files" FILES ${DevIL_TXT} )
18 if(BUILD_SHARED_LIBS)
19 add_library(IL SHARED ${DevIL_SRCS} ${DevIL_INC} ${DevIL_RSRC} ${DevIL_TXT})
20 + set_target_properties(IL PROPERTIES SOVERSION 1)
21 else(BUILD_SHARED_LIBS)
22 add_library(IL ${DevIL_SRCS} ${DevIL_INC} ${DevIL_RSRC} ${DevIL_TXT})
23 endif(BUILD_SHARED_LIBS)
24 diff --git a/DevIL/src-ILU/CMakeLists.txt b/DevIL/src-ILU/CMakeLists.txt
25 index 17a3afe7..44b9531b 100644
26 --- a/DevIL/src-ILU/CMakeLists.txt
27 +++ b/DevIL/src-ILU/CMakeLists.txt
28 @@ -44,6 +44,7 @@ source_group("Resource Files" FILES ${ILU_RSRC} )
30 # Remove SHARED to create a static library
31 add_library(ILU SHARED ${ILU_SRCS} ${ILU_INC} ${ILU_RSRC})
32 +set_target_properties(ILU PROPERTIES SOVERSION 1)
35 ## ILU requires IL
36 diff --git a/DevIL/src-ILUT/CMakeLists.txt b/DevIL/src-ILUT/CMakeLists.txt
37 index 21470cbc..296f9955 100644
38 --- a/DevIL/src-ILUT/CMakeLists.txt
39 +++ b/DevIL/src-ILUT/CMakeLists.txt
40 @@ -44,6 +44,7 @@ source_group("Resource Files" FILES ${ILUT_RSRC} )
42 # Remove SHARED to create a static library
43 add_library(ILUT SHARED ${ILUT_SRCS} ${ILUT_INC} ${ILUT_RSRC})
44 +set_target_properties(ILUT PROPERTIES SOVERSION 1)
46 ## add link sub library info
47 target_link_libraries(ILUT