diff options
author | Brad King <brad.king@kitware.com> | 2008-07-09 21:45:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-07-09 21:45:45 (GMT) |
commit | 4e5e3161a323a2847711f8ff13a60759326c954c (patch) | |
tree | 859f343e6b229cfb654a13826ffef46c3ab03acd | |
parent | d7b90415167d69bb09f04e9a5fd4a95a52217b85 (diff) | |
download | CMake-4e5e3161a323a2847711f8ff13a60759326c954c.zip CMake-4e5e3161a323a2847711f8ff13a60759326c954c.tar.gz CMake-4e5e3161a323a2847711f8ff13a60759326c954c.tar.bz2 |
BUG: Fix dylib versioning flags for old OSX.
- ld flags -dylib_compatibility_version and -dylib_current_version
are libtool flags -compatibility_version and -current_version
- OSX 10.3 does not like the dylib_ prefixes.
-rw-r--r-- | Modules/Platform/Darwin.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Platform/Darwin.cmake b/Modules/Platform/Darwin.cmake index f0bdd8b..edd698c 100644 --- a/Modules/Platform/Darwin.cmake +++ b/Modules/Platform/Darwin.cmake @@ -27,8 +27,8 @@ SET(CMAKE_SHARED_MODULE_SUFFIX ".so") SET(CMAKE_MODULE_EXISTS 1) SET(CMAKE_DL_LIBS "") -SET(CMAKE_C_OSX_COMPATIBILITY_VERSION_FLAG -Wl,-dylib_compatibility_version,) -SET(CMAKE_C_OSX_CURRENT_VERSION_FLAG -Wl,-dylib_current_version,) +SET(CMAKE_C_OSX_COMPATIBILITY_VERSION_FLAG -Wl,-compatibility_version,) +SET(CMAKE_C_OSX_CURRENT_VERSION_FLAG -Wl,-current_version,) SET(CMAKE_CXX_OSX_COMPATIBILITY_VERSION_FLAG "${CMAKE_C_OSX_COMPATIBILITY_VERSION_FLAG}") SET(CMAKE_CXX_OSX_CURRENT_VERSION_FLAG "${CMAKE_C_OSX_CURRENT_VERSION_FLAG}") |