summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/cmake_path/GET.cmake
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-01-26 14:03:01 (GMT)
committerCraig Scott <craig.scott@crascit.com>2021-01-28 00:06:31 (GMT)
commit76cea3dfe2b968885f8a956504bcee9d46a58303 (patch)
tree92cb6042a04146668cb64743bdae51d1133c0f86 /Tests/RunCMake/cmake_path/GET.cmake
parent9b96fbc358aba8110ba09d3ad2262223ec0f0167 (diff)
downloadCMake-76cea3dfe2b968885f8a956504bcee9d46a58303.zip
CMake-76cea3dfe2b968885f8a956504bcee9d46a58303.tar.gz
CMake-76cea3dfe2b968885f8a956504bcee9d46a58303.tar.bz2
cmake_path: rename 'GET ... RELATIVE_PATH' to 'GET ... RELATIVE_PART'
For consistency, subcommand 'HAS_RELATIVE_PATH' is also renamed to 'HAS_RELATIVE_PART'. Fixes: #21385
Diffstat (limited to 'Tests/RunCMake/cmake_path/GET.cmake')
-rw-r--r--Tests/RunCMake/cmake_path/GET.cmake12
1 files changed, 6 insertions, 6 deletions
diff --git a/Tests/RunCMake/cmake_path/GET.cmake b/Tests/RunCMake/cmake_path/GET.cmake
index e68e654..463bc47 100644
--- a/Tests/RunCMake/cmake_path/GET.cmake
+++ b/Tests/RunCMake/cmake_path/GET.cmake
@@ -61,9 +61,9 @@ if (NOT output STREQUAL "cc.ext1")
list (APPEND errors "STEM LAST_ONLY returns bad data: ${output}")
endif()
-cmake_path(GET path RELATIVE_PATH output)
+cmake_path(GET path RELATIVE_PART output)
if (NOT output STREQUAL "aa/bb/cc.ext1.ext2")
- list (APPEND errors "RELATIVE_PATH returns bad data: ${output}")
+ list (APPEND errors "RELATIVE_PART returns bad data: ${output}")
endif()
cmake_path(GET path PARENT_PATH output)
@@ -112,9 +112,9 @@ if (NOT output STREQUAL "")
list (APPEND errors "STEM returns bad data: ${output}")
endif()
-cmake_path(GET path RELATIVE_PATH output)
+cmake_path(GET path RELATIVE_PART output)
if (NOT output STREQUAL path)
- list (APPEND errors "RELATIVE_PATH returns bad data: ${output}")
+ list (APPEND errors "RELATIVE_PART returns bad data: ${output}")
endif()
cmake_path(GET path PARENT_PATH output)
@@ -173,9 +173,9 @@ if (NOT output STREQUAL "")
list (APPEND errors "STEM returns bad data: ${output}")
endif()
-cmake_path(GET path RELATIVE_PATH output)
+cmake_path(GET path RELATIVE_PART output)
if (NOT output STREQUAL "")
- list (APPEND errors "RELATIVE_PATH returns bad data: ${output}")
+ list (APPEND errors "RELATIVE_PART returns bad data: ${output}")
endif()
cmake_path(GET path PARENT_PATH output)