summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-12-12 20:42:55 (GMT)
committerBrad King <brad.king@kitware.com>2003-12-12 20:42:55 (GMT)
commit128f3cbd00b6e2ebae663072837d6d4124659a96 (patch)
treeaac2ba57e162a4476b5c1c3558e38649401b53a7 /Modules/Platform
parent18112d0854c94fc4b0b20991579ce7576bb7baaa (diff)
downloadCMake-128f3cbd00b6e2ebae663072837d6d4124659a96.zip
CMake-128f3cbd00b6e2ebae663072837d6d4124659a96.tar.gz
CMake-128f3cbd00b6e2ebae663072837d6d4124659a96.tar.bz2
ENH: Added CMAKE_SHARED_LIBRARY_SONAME_C_FLAG and CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG settings to enable shared library version support for SGI.
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/IRIX64.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/IRIX64.cmake b/Modules/Platform/IRIX64.cmake
index b2ce41a..fde50eb 100644
--- a/Modules/Platform/IRIX64.cmake
+++ b/Modules/Platform/IRIX64.cmake
@@ -3,6 +3,8 @@ SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared -rdata_shared")
SET(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "-shared -rdata_shared")
SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG "-Wl,-rpath,") # -rpath
SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG_SEP "") # : or empty
+SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,")
+SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-Wl,-soname,")
IF(NOT CMAKE_COMPILER_IS_GNUCXX)
# Set default flags init.
SET(CMAKE_C_FLAGS_INIT "")