mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 02:59:22 -05:00
Merge topic 'e2k_support'
d6746fd05ccmMakefile: Fix compilation on EDG-based compilers such as LCC77c237d219zstd: Fix incorrect pragma error on LCC compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Igor S. Gerasimov <i.s.ger@yandex.ru> Merge-request: !6579
This commit is contained in:
@@ -3982,11 +3982,10 @@ cmValue cmMakefile::GetProperty(const std::string& prop) const
|
||||
if (prop == "TESTS") {
|
||||
std::vector<std::string> keys;
|
||||
// get list of keys
|
||||
std::transform(this->Tests.begin(), this->Tests.end(),
|
||||
std::back_inserter(keys),
|
||||
[](decltype(this->Tests)::value_type const& pair) {
|
||||
return pair.first;
|
||||
});
|
||||
const auto* t = this;
|
||||
std::transform(
|
||||
t->Tests.begin(), t->Tests.end(), std::back_inserter(keys),
|
||||
[](decltype(t->Tests)::value_type const& pair) { return pair.first; });
|
||||
output = cmJoin(keys, ";");
|
||||
return cmValue(output);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user