include(RunCMake) set(RunCMake_IGNORE_POLICY_VERSION_DEPRECATION ON) run_cmake(CMP0054-OLD) run_cmake(CMP0054-NEW) run_cmake(CMP0054-WARN) run_cmake(CMP0054-keywords-NEW) run_cmake(CMP0054-keywords-OLD) run_cmake(CMP0054-keywords-WARN) run_cmake(CMP0054-duplicate-warnings) run_cmake(CMP0054-policy-command-scope) run_cmake(CMP0054-policy-foreach-scope) run_cmake(CMP0054-policy-while-scope) run_cmake(CMP0054-policy-nested-if)