cmake: Warn about unnecessary paths on command line

We can't make it an error as that would break existing behavior.

Fixes: #23110
This commit is contained in:
Robert Maynard
2022-01-20 11:04:57 -05:00
committed by Brad King
parent a4f076110d
commit eacf1f879b
5 changed files with 47 additions and 6 deletions
+1 -1
View File
@@ -648,7 +648,7 @@ protected:
*/
int CheckBuildSystem();
void SetDirectoriesFromFile(const std::string& arg);
bool SetDirectoriesFromFile(const std::string& arg);
//! Make sure all commands are what they say they are and there is no
/// macros.