summaryrefslogtreecommitdiffstats
path: root/Tests/PolicyScope/Bar.cmake
blob: cf1904c48adfee2c56ef3cf5954a40a7fa5a51a6 (plain)
1
2
3
4
5
6
7
8
cmake_minimum_required(VERSION 2.6.3)

# Make sure a policy set differently by our includer is now correct.
cmake_policy(GET CMP0003 cmp)
check(CMP0003 "NEW" "${cmp}")

# Test allowing the top-level file to not have cmake_minimum_required.
cmake_policy(SET CMP0000 OLD)