summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-11-26 22:59:53 (GMT)
committerBrad King <brad.king@kitware.com>2003-11-26 22:59:53 (GMT)
commitaaf0ed39ca1fad7b60c5ae20ac08381e37feba0a (patch)
treee262b14fb7fc01a038064f2e4f2a73c735cc3df0 /Modules
parentf0035d84b5bb9cea0e004cc60cc0606bd896d5e1 (diff)
downloadCMake-aaf0ed39ca1fad7b60c5ae20ac08381e37feba0a.zip
CMake-aaf0ed39ca1fad7b60c5ae20ac08381e37feba0a.tar.gz
CMake-aaf0ed39ca1fad7b60c5ae20ac08381e37feba0a.tar.bz2
ENH: Adding implementation of shared library version support on UNIX. This addresses the feature request described in bug#32.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/Linux.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Platform/Linux.cmake b/Modules/Platform/Linux.cmake
index 2085c93..ec699bd 100644
--- a/Modules/Platform/Linux.cmake
+++ b/Modules/Platform/Linux.cmake
@@ -7,3 +7,4 @@ SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
SET(CMAKE_SHARED_LIBRARY_LINK_FLAGS "-rdynamic")
SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG "-Wl,-rpath,")
SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG_SEP ":")
+SET(CMAKE_SHARED_LIBRARY_SONAME_FLAG "-Wl,-soname,")