summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-03-10 14:22:54 (GMT)
committerCraig Scott <craig.scott@crascit.com>2020-03-12 10:15:40 (GMT)
commit14732d3f3013479440af0e702b3c82c490365a64 (patch)
treeb2d658e42de0435e4b6c2194abe865de56ea5c37 /Tests
parentd1cb554c99c73e1486fbf4e09125337a7c0e9ea3 (diff)
downloadCMake-14732d3f3013479440af0e702b3c82c490365a64.zip
CMake-14732d3f3013479440af0e702b3c82c490365a64.tar.gz
CMake-14732d3f3013479440af0e702b3c82c490365a64.tar.bz2
macOS: Rename OSX_*_VERSION properties to MACHO_*_VERSION
The properties added by commit 4a62e3d97c (macOS: Add OSX_COMPATIBILITY_VERSION and OSX_CURRENT_VERSION properties, 2020-01-24, v3.17.0-rc1~80^2~1) are general-purpose for all platforms using Mach-O formats and not just on OS X. Rename them accordingly. The properties are new to the CMake 3.17 release so we can rename them without compatibility concerns. Fixes: #20442
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/MacOSVersions/MacOSVersions.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/MacOSVersions/MacOSVersions.cmake b/Tests/RunCMake/MacOSVersions/MacOSVersions.cmake
index 629e445..fc51bd8 100644
--- a/Tests/RunCMake/MacOSVersions/MacOSVersions.cmake
+++ b/Tests/RunCMake/MacOSVersions/MacOSVersions.cmake
@@ -4,6 +4,6 @@ add_library(foo SHARED foo.c)
set_target_properties(foo PROPERTIES
VERSION 1.0
SOVERSION 1
- OSX_COMPATIBILITY_VERSION 2.1.0
- OSX_CURRENT_VERSION 3.2.1
+ MACHO_COMPATIBILITY_VERSION 2.1.0
+ MACHO_CURRENT_VERSION 3.2.1
)