CMake/Tests/PolicyScope/Bar.cmake

9 lines
270 B
CMake
Raw Permalink Normal View History

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)