Salome HOME
spns #20216 : patch cmake added
[tools/sat_salome.git] / products / patches / cmake-3.12.1-checkUnusedVariables.patch
1 diff -Naur cmake-3.12.1/Source/cmake.cxx cmake-3.12.1_new/Source/cmake.cxx
2 --- cmake-3.12.1/Source/cmake.cxx       2018-08-09 14:14:08.000000000 +0200
3 +++ cmake-3.12.1_new/Source/cmake.cxx   2021-05-05 12:21:45.728181956 +0200
4 @@ -2589,7 +2589,7 @@
5      }
6    }
7    if (haveUnused) {
8 -    this->IssueMessage(cmake::WARNING, msg.str());
9 +    this->IssueMessage(cmake::FATAL_ERROR, msg.str());
10    }
11  #endif
12  }