diff options
author | Brad King <brad.king@kitware.com> | 2013-06-03 13:56:37 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-06-03 13:56:37 (GMT) |
commit | d444fea16339e3d39bc38244d2f0ee36b31b6be1 (patch) | |
tree | 587f50f04618eb6582b46ceb56db321611042178 /Modules/Platform | |
parent | b0759da303ebf8a49cb840504591c92fd290f419 (diff) | |
parent | cbe3f2072bdd181660bc4f9174a73febd3ed5230 (diff) | |
download | CMake-d444fea16339e3d39bc38244d2f0ee36b31b6be1.zip CMake-d444fea16339e3d39bc38244d2f0ee36b31b6be1.tar.gz CMake-d444fea16339e3d39bc38244d2f0ee36b31b6be1.tar.bz2 |
Merge topic 'xcode-shlib-versioning'
cbe3f20 Xcode: Add support for shared library versioning
Diffstat (limited to 'Modules/Platform')
-rw-r--r-- | Modules/Platform/Darwin.cmake | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Modules/Platform/Darwin.cmake b/Modules/Platform/Darwin.cmake index 2e6b71e..6e5d449 100644 --- a/Modules/Platform/Darwin.cmake +++ b/Modules/Platform/Darwin.cmake @@ -207,12 +207,8 @@ if("${CMAKE_BACKWARDS_COMPATIBILITY}" MATCHES "^1\\.[0-6]$") "${CMAKE_SHARED_MODULE_CREATE_C_FLAGS} -flat_namespace -undefined suppress") endif() -if(NOT XCODE) - # Enable shared library versioning. This flag is not actually referenced - # but the fact that the setting exists will cause the generators to support - # soname computation. - set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-install_name") -endif() +# Enable shared library versioning. +set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-install_name") # Xcode does not support -isystem yet. if(XCODE) |