summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorErin Melucci <emelucci@opera.com>2022-05-09 17:18:53 (GMT)
committerBrad King <brad.king@kitware.com>2022-05-12 14:37:49 (GMT)
commitba969ce5fe3a363b52dd4f0290e4b827272101fb (patch)
treeb3a8747cdf46785bd05851fccb2f35e7778723bd /Source/cmSystemTools.cxx
parentef10e61b6b7d3bb264cdbf72e143dbef7be8c736 (diff)
downloadCMake-ba969ce5fe3a363b52dd4f0290e4b827272101fb.zip
CMake-ba969ce5fe3a363b52dd4f0290e4b827272101fb.tar.gz
CMake-ba969ce5fe3a363b52dd4f0290e4b827272101fb.tar.bz2
cmake-presets: add ${pathListSep} macro
Fixes: #23282
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index cb32172..527175d 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -3429,3 +3429,12 @@ cm::string_view cmSystemTools::GetSystemName()
return "";
#endif
}
+
+char cmSystemTools::GetSystemPathlistSeparator()
+{
+#if defined(_WIN32)
+ return ';';
+#else
+ return ':';
+#endif
+}