Commit fb45c371 authored by Stephen Kelly's avatar Stephen Kelly
Browse files

cmState: Only append non-empty values to buildsystem properties.

This is a change in behavior from CMake 3.3, but there is no semantic meaning
to empty entries in buildsystem properties.  This also restores behavior to
that of CMake 2.8.10.
parent 158f7e31
......@@ -1378,6 +1378,11 @@ template <typename T, typename U, typename V>
void AppendEntry(T& content, U& backtraces, V& endContentPosition,
const std::string& value, const cmListFileBacktrace& lfbt)
if (value.empty())
assert(endContentPosition == content.size());
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment