1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
4 # T2 SDE: package/*/cmake/no-include-check.patch.cross0
5 # Copyright (C) 2021 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- cmake-3.20.5/Source/cmGeneratorTarget.cxx.vanilla 2021-07-22 15:50:56.490148603 +0200
18 +++ cmake-3.20.5/Source/cmGeneratorTarget.cxx 2021-07-22 16:22:37.592035289 +0200
20 for (std::string& entryInclude : entry.Values) {
21 if (fromImported && !cmSystemTools::FileExists(entryInclude)) {
23 - MessageType messageType = MessageType::FATAL_ERROR;
24 + MessageType messageType = MessageType::AUTHOR_WARNING;
26 switch (tgt->GetPolicyStatusCMP0027()) {
27 case cmPolicies::WARN:
29 "does not provide.\n";
31 tgt->GetLocalGenerator()->IssueMessage(messageType, e.str());
36 if (!cmSystemTools::FileIsFullPath(entryInclude)) {