diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2020-05-28 12:52:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-05-28 16:56:59 (GMT) |
commit | 1eca5993e21eeefa8a0c8d4e41b559c1d32c495a (patch) | |
tree | 224acb0649ebc5e8198b311950f7f30da4c606f0 /Source/cmPolicies.h | |
parent | 04b9b2b5f363d792719238046a18aac867be3254 (diff) | |
download | CMake-1eca5993e21eeefa8a0c8d4e41b559c1d32c495a.zip CMake-1eca5993e21eeefa8a0c8d4e41b559c1d32c495a.tar.gz CMake-1eca5993e21eeefa8a0c8d4e41b559c1d32c495a.tar.bz2 |
ALIAS target: cannot overwrite an existing target
Fixes: #19616
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r-- | Source/cmPolicies.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h index 4abfa1f..4dff1d8 100644 --- a/Source/cmPolicies.h +++ b/Source/cmPolicies.h @@ -316,7 +316,9 @@ class cmMakefile; SELECT(POLICY, CMP0105, "Device link step uses the link options.", 3, 18, \ 0, cmPolicies::WARN) \ SELECT(POLICY, CMP0106, "The Documentation module is removed.", 3, 18, 0, \ - cmPolicies::WARN) + cmPolicies::WARN) \ + SELECT(POLICY, CMP0107, "An ALIAS target cannot overwrite another target.", \ + 3, 18, 0, cmPolicies::WARN) #define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1) #define CM_FOR_EACH_POLICY_ID(POLICY) \ |