diff options
author | Brad King <brad.king@kitware.com> | 2018-07-24 17:10:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-07-24 17:14:10 (GMT) |
commit | 6646771b0f4f6ec71a5717a68f74c987eb399b4e (patch) | |
tree | 63d2716322e633af0133f30c7fbb97060ec7d4ea /Source/cmMakefile.cxx | |
parent | 08eb157c032487b2793e625c554caae33267116d (diff) | |
download | CMake-6646771b0f4f6ec71a5717a68f74c987eb399b4e.zip CMake-6646771b0f4f6ec71a5717a68f74c987eb399b4e.tar.gz CMake-6646771b0f4f6ec71a5717a68f74c987eb399b4e.tar.bz2 |
project: Do not issue CMP0048 warnings on injected call
Fixes: #18202
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 3c7a4cf..af97f80 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -1511,6 +1511,8 @@ void cmMakefile::Configure() project.Name.Lower = "project"; project.Arguments.emplace_back("Project", cmListFileArgument::Unquoted, 0); + project.Arguments.emplace_back("__CMAKE_INJECTED_PROJECT_COMMAND__", + cmListFileArgument::Unquoted, 0); listFile.Functions.insert(listFile.Functions.begin(), project); } } |