summaryrefslogtreecommitdiffstats
path: root/Tests/PolicyScope/Bar.cmake
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Isolate policy changes in included scriptsBrad King2009-01-221-0/+8
Isolation of policy changes inside scripts is important for protecting the including context. This teaches include() and find_package() to imply a cmake_policy(PUSH) and cmake_policy(POP) around the scripts they load, with a NO_POLICY_SCOPE option to disable the behavior. This also creates CMake Policy CMP0011 to provide compatibility. See issue #8192.