https://github.com/Kitware/CMake
Raw File
Tip revision: 612409e5b01a7e4823bb379ee9e002177793eb75 authored by Brad King on 13 November 2009, 14:07:10 UTC
CMake 2.8.0
Tip revision: 612409e
Bar.cmake
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)
back to top