summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Linux.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-12-12 19:35:18 (GMT)
committerBrad King <brad.king@kitware.com>2003-12-12 19:35:18 (GMT)
commitc1add9106c5a382d3e668dc2ea99ccfd7163c96e (patch)
tree9a90edcd50285f00cfc987eea75e8a34124ed119 /Modules/Platform/Linux.cmake
parent9a096e8488e13021920f68ce69c38445c0487f44 (diff)
downloadCMake-c1add9106c5a382d3e668dc2ea99ccfd7163c96e.zip
CMake-c1add9106c5a382d3e668dc2ea99ccfd7163c96e.tar.gz
CMake-c1add9106c5a382d3e668dc2ea99ccfd7163c96e.tar.bz2
ENH: Using separate CMAKE_SHARED_LIBRARY_SONAME flags for C and CXX.
Diffstat (limited to 'Modules/Platform/Linux.cmake')
-rw-r--r--Modules/Platform/Linux.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/Platform/Linux.cmake b/Modules/Platform/Linux.cmake
index ec699bd..02c809e 100644
--- a/Modules/Platform/Linux.cmake
+++ b/Modules/Platform/Linux.cmake
@@ -7,4 +7,5 @@ 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,")
+SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,")
+SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-Wl,-soname,")