diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 7dade6f84..f8c2482fe 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -3125,7 +3125,7 @@ void cmake::SetProperty(const char* prop, const char* value) value = "NOTFOUND"; } - this->Properties.SetProperty(prop, value, cmProperty::TARGET); + this->Properties.SetProperty(prop, value, cmProperty::GLOBAL); } const char *cmake::GetProperty(const char* prop)