diff options
author | Sebastian Holtermann <sebholt@web.de> | 2019-12-30 13:22:28 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@web.de> | 2020-01-04 10:33:04 (GMT) |
commit | abad139c99c861a8bd9a85bd6296ab677a00507a (patch) | |
tree | e1766a4b468ce1f3bee6964f4d91c3b760598ec3 /Source/cmPolicies.h | |
parent | 4db1463e052255f9f72d9fa293986a5798026514 (diff) | |
download | CMake-abad139c99c861a8bd9a85bd6296ab677a00507a.zip CMake-abad139c99c861a8bd9a85bd6296ab677a00507a.tar.gz CMake-abad139c99c861a8bd9a85bd6296ab677a00507a.tar.bz2 |
Autogen: Process .hh headers based on new policy CMP0100 settings
Reintroduces .hh header processing in AUTOMOC and AUTOUIC based on the new
policy CMP0100 setting.
Fixes: #13904 CMAKE_AUTOMOC misses headers with ".hh" extension
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 ecf892b..8d292ac 100644 --- a/Source/cmPolicies.h +++ b/Source/cmPolicies.h @@ -297,7 +297,9 @@ class cmMakefile; SELECT(POLICY, CMP0099, \ "Link properties are transitive over private dependency on static " \ "libraries.", \ - 3, 17, 0, cmPolicies::WARN) + 3, 17, 0, cmPolicies::WARN) \ + SELECT(POLICY, CMP0100, "Let AUTOMOC and AUTOUIC process .hh files.", 3, \ + 17, 0, cmPolicies::WARN) #define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1) #define CM_FOR_EACH_POLICY_ID(POLICY) \ |