diff options
author | Erin Melucci <emelucci@opera.com> | 2022-05-09 17:18:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-05-12 14:37:49 (GMT) |
commit | ba969ce5fe3a363b52dd4f0290e4b827272101fb (patch) | |
tree | b3a8747cdf46785bd05851fccb2f35e7778723bd /Source/cmSystemTools.cxx | |
parent | ef10e61b6b7d3bb264cdbf72e143dbef7be8c736 (diff) | |
download | CMake-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.cxx | 9 |
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 +} |