summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Darwin-xlc.cmake
blob: f7e4da3396b8cb66a3ead6203781c3b3812f3a33 (plain)
1
2
3
4
5
6
SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-qmkshrobj")
SET(CMAKE_SHARED_MODULE_CREATE_C_FLAGS "-bundle")

# Enable shared library versioning.
SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-install_name")
SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-Wl,-install_name")