summaryrefslogtreecommitdiff
path: root/Modules/Platform/Darwin-XL-CXX.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Platform/Darwin-XL-CXX.cmake')
-rw-r--r--Modules/Platform/Darwin-XL-CXX.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/Platform/Darwin-XL-CXX.cmake b/Modules/Platform/Darwin-XL-CXX.cmake
new file mode 100644
index 000000000..22ae0183a
--- /dev/null
+++ b/Modules/Platform/Darwin-XL-CXX.cmake
@@ -0,0 +1,5 @@
+SET(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "-qmkshrobj")
+SET(CMAKE_SHARED_MODULE_CREATE_CXX_FLAGS "-bundle")
+
+# Enable shared library versioning.
+SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-Wl,-install_name")