summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-04-28 13:49:32 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-04-28 13:49:41 (GMT)
commit11530e5504395c753fa23ce2b6c702c2d7e60602 (patch)
tree5edf437a5916d61b8f879374792d7e519b6f73d6 /Source/cmPolicies.h
parent91788612450ca2d2fecda2c0f6ca9a323d0a8617 (diff)
parentc4941b7e66cd3a0a9de5ed8189ef025fcd6f3122 (diff)
downloadCMake-11530e5504395c753fa23ce2b6c702c2d7e60602.zip
CMake-11530e5504395c753fa23ce2b6c702c2d7e60602.tar.gz
CMake-11530e5504395c753fa23ce2b6c702c2d7e60602.tar.bz2
Merge topic 'ARMClang-cpu-arch-flags'
c4941b7e66 ARMClang: Do not automatically add cpu/arch compile or link options 0078db3888 ARMClang: Separate cpu/arch flags from preceding flags Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Jaeden Amero <kitware@patater.com> Merge-request: !6035
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r--Source/cmPolicies.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index d546b6e..0a5bb4b 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -366,7 +366,10 @@ class cmMakefile;
SELECT( \
POLICY, CMP0122, \
"UseSWIG use standard library name conventions for csharp language.", 3, \
- 21, 0, cmPolicies::WARN)
+ 21, 0, cmPolicies::WARN) \
+ SELECT(POLICY, CMP0123, \
+ "ARMClang cpu/arch compile and link flags must be set explicitly.", \
+ 3, 21, 0, cmPolicies::WARN)
#define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1)
#define CM_FOR_EACH_POLICY_ID(POLICY) \