diff options
Diffstat (limited to 'Modules/Platform/Darwin-xlc.cmake')
-rw-r--r-- | Modules/Platform/Darwin-xlc.cmake | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Modules/Platform/Darwin-xlc.cmake b/Modules/Platform/Darwin-xlc.cmake index ebe099b..f7e4da3 100644 --- a/Modules/Platform/Darwin-xlc.cmake +++ b/Modules/Platform/Darwin-xlc.cmake @@ -1,8 +1,6 @@ SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-qmkshrobj") SET(CMAKE_SHARED_MODULE_CREATE_C_FLAGS "-bundle") -IF(CMAKE_GENERATOR_NEW) - # Enable shared library versioning. - SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-install_name") - SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-Wl,-install_name") -ENDIF(CMAKE_GENERATOR_NEW) +# Enable shared library versioning. +SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-install_name") +SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-Wl,-install_name") |