summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-08-07 15:45:15 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-08-07 15:47:54 (GMT)
commitddb1759b3e2b5c1b2c56734cd2ae0fa6dcf3a815 (patch)
treefa0e32d0fdb3cf0b328b3a4181956868ca355b31 /Source/cmGeneratorTarget.cxx
parent97b12c7922f75c169736f65a3d9549a3084167c0 (diff)
parent959b97a27f8816fb1db5c3a1d51cd994086a886b (diff)
downloadCMake-ddb1759b3e2b5c1b2c56734cd2ae0fa6dcf3a815.zip
CMake-ddb1759b3e2b5c1b2c56734cd2ae0fa6dcf3a815.tar.gz
CMake-ddb1759b3e2b5c1b2c56734cd2ae0fa6dcf3a815.tar.bz2
Merge topic 'cmStringAlgorithms_move_functions'
959b97a27f Tests: testStringAlgorithms: Add cmTrimWhitespace, cmEscapeQuotes, cmTokenize 7fbcc16dcd cmStringAlgorithms: cmIsSpace, cmTrimWhitespace, cmEscapeQuotes, cmTokenize Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3647
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index d9e5e71..03fc5ae 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -3410,8 +3410,7 @@ std::vector<BT<std::string>> cmGeneratorTarget::GetLinkOptions(
cmSystemTools::ParseUnixCommandLine(
value.c_str() + LINKER_SHELL.length(), linkerOptions);
} else {
- linkerOptions =
- cmSystemTools::tokenize(value.substr(LINKER.length()), ",");
+ linkerOptions = cmTokenize(value.substr(LINKER.length()), ",");
}
if (linkerOptions.empty() ||