diff --git a/Source/cmTargetPropertyComputer.h b/Source/cmTargetPropertyComputer.h index fe3682f46b..ef29796ca1 100644 --- a/Source/cmTargetPropertyComputer.h +++ b/Source/cmTargetPropertyComputer.h @@ -23,9 +23,6 @@ public: if (cmValue loc = GetLocation(tgt, prop, mf)) { return loc; } - if (cmSystemTools::GetFatalErrorOccurred()) { - return nullptr; - } if (prop == "SOURCES") { return GetSources(tgt); }