Browse Source

ENH: Adding implementation of shared library version support on UNIX. This addresses the feature request described in bug#32.

Brad King 22 years ago
parent
commit
aaf0ed39ca
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Modules/Platform/Linux.cmake

+ 1 - 0
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,")