diff options
author | Robert Maynard <rmaynard@nvidia.com> | 2022-01-20 16:04:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-01-20 19:38:12 (GMT) |
commit | eacf1f879b0933509efbd4fb4d6d72ce99412aa7 (patch) | |
tree | a869c4da32763c06491413a5c0b6695b6d0628de /Source/cmake.h | |
parent | a4f076110d4ceaf92f60a604fbca08f645cb5844 (diff) | |
download | CMake-eacf1f879b0933509efbd4fb4d6d72ce99412aa7.zip CMake-eacf1f879b0933509efbd4fb4d6d72ce99412aa7.tar.gz CMake-eacf1f879b0933509efbd4fb4d6d72ce99412aa7.tar.bz2 |
cmake: Warn about unnecessary paths on command line
We can't make it an error as that would break existing behavior.
Fixes: #23110
Diffstat (limited to 'Source/cmake.h')
-rw-r--r-- | Source/cmake.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.h b/Source/cmake.h index b13cc96..aee9c04 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -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. |