diff --git a/CMakeLists.txt b/CMakeLists.txt index a0245a5cdaba0..8b006c509150c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,6 +36,7 @@ set(policy_new CMP0072 CMP0076 CMP0077 CMP0079 CMP0135 # Timestamps of downloaded archives are set to time of extraction CMP0144 # _ROOT (converted to upper case) can be used to search for dependencies CMP0156 CMP0179 #deduplicate static libraries when linker supports it + CMP0218 # no special handling for `CMAKE_WARN_DEPRECATED` and `CMAKE_ERROR_DEPRECATED` variables ) foreach(policy ${policy_new}) if(POLICY ${policy})