summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuergen Buchmueller <pullmoll@t-online.de>2017-01-02 16:48:55 +0100
committerJuergen Buchmueller <pullmoll@t-online.de>2017-01-02 16:48:55 +0100
commit1763633e5f7a8b86c293bd9a2f030961e77b0067 (patch)
tree8d48d71225d1226bab6b1ed7f5b7702af535ee43
parenta2d9193fed0c7f93519c0c4c28b3348e0cb5759b (diff)
downloaddevil-1763633e5f7a8b86c293bd9a2f030961e77b0067.tar.gz
Add solib version number to CMakeLists.txt
-rw-r--r--DevIL/src-IL/CMakeLists.txt1
-rw-r--r--DevIL/src-ILU/CMakeLists.txt1
-rw-r--r--DevIL/src-ILUT/CMakeLists.txt1
3 files changed, 3 insertions, 0 deletions
diff --git a/DevIL/src-IL/CMakeLists.txt b/DevIL/src-IL/CMakeLists.txt
index 02e4f033..095f43e7 100644
--- a/DevIL/src-IL/CMakeLists.txt
+++ b/DevIL/src-IL/CMakeLists.txt
@@ -58,6 +58,7 @@ source_group("Text Files" FILES ${DevIL_TXT} )
if(BUILD_SHARED_LIBS)
add_library(IL SHARED ${DevIL_SRCS} ${DevIL_INC} ${DevIL_RSRC} ${DevIL_TXT})
+ set_target_properties(IL PROPERTIES SOVERSION 1)
else(BUILD_SHARED_LIBS)
add_library(IL ${DevIL_SRCS} ${DevIL_INC} ${DevIL_RSRC} ${DevIL_TXT})
endif(BUILD_SHARED_LIBS)
diff --git a/DevIL/src-ILU/CMakeLists.txt b/DevIL/src-ILU/CMakeLists.txt
index 17a3afe7..44b9531b 100644
--- a/DevIL/src-ILU/CMakeLists.txt
+++ b/DevIL/src-ILU/CMakeLists.txt
@@ -44,6 +44,7 @@ source_group("Resource Files" FILES ${ILU_RSRC} )
# Remove SHARED to create a static library
add_library(ILU SHARED ${ILU_SRCS} ${ILU_INC} ${ILU_RSRC})
+set_target_properties(ILU PROPERTIES SOVERSION 1)
## ILU requires IL
diff --git a/DevIL/src-ILUT/CMakeLists.txt b/DevIL/src-ILUT/CMakeLists.txt
index 21470cbc..296f9955 100644
--- a/DevIL/src-ILUT/CMakeLists.txt
+++ b/DevIL/src-ILUT/CMakeLists.txt
@@ -44,6 +44,7 @@ source_group("Resource Files" FILES ${ILUT_RSRC} )
# Remove SHARED to create a static library
add_library(ILUT SHARED ${ILUT_SRCS} ${ILUT_INC} ${ILUT_RSRC})
+set_target_properties(ILUT PROPERTIES SOVERSION 1)
## add link sub library info
target_link_libraries(ILUT