summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/MacOSVersions/MacOSVersions.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/MacOSVersions/MacOSVersions.cmake')
-rw-r--r--Tests/RunCMake/MacOSVersions/MacOSVersions.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/MacOSVersions/MacOSVersions.cmake b/Tests/RunCMake/MacOSVersions/MacOSVersions.cmake
new file mode 100644
index 0000000..fc51bd8
--- /dev/null
+++ b/Tests/RunCMake/MacOSVersions/MacOSVersions.cmake
@@ -0,0 +1,9 @@
+enable_language(C)
+
+add_library(foo SHARED foo.c)
+set_target_properties(foo PROPERTIES
+ VERSION 1.0
+ SOVERSION 1
+ MACHO_COMPATIBILITY_VERSION 2.1.0
+ MACHO_CURRENT_VERSION 3.2.1
+ )