diff options
author | Craig Scott <craig.scott@crascit.com> | 2018-07-25 12:14:53 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-07-25 12:15:02 (GMT) |
commit | ae2b12a95c346d710459657c3cce967bd590f678 (patch) | |
tree | 3de1c84bc081b56611e575181372c2170d9aac53 /Source/cmMakefile.cxx | |
parent | 873f40ecec50fbe6c8e98a0764c02a423dbfa05b (diff) | |
parent | 6646771b0f4f6ec71a5717a68f74c987eb399b4e (diff) | |
download | CMake-ae2b12a95c346d710459657c3cce967bd590f678.zip CMake-ae2b12a95c346d710459657c3cce967bd590f678.tar.gz CMake-ae2b12a95c346d710459657c3cce967bd590f678.tar.bz2 |
Merge topic 'project-injected-no-cmp0048'
6646771b0f project: Do not issue CMP0048 warnings on injected call
08eb157c03 Tests: Add case showing CMP0048 warning on injected project command
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2235
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 a9b0b78..c868159 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -1526,6 +1526,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); } } |