summaryrefslogtreecommitdiff
path: root/Modules/Platform/Darwin-XL-C.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Platform/Darwin-XL-C.cmake')
-rw-r--r--Modules/Platform/Darwin-XL-C.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/Platform/Darwin-XL-C.cmake b/Modules/Platform/Darwin-XL-C.cmake
new file mode 100644
index 000000000..934ebcc8c
--- /dev/null
+++ b/Modules/Platform/Darwin-XL-C.cmake
@@ -0,0 +1,5 @@
+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")