https://github.com/Kitware/CMake
Raw File
Tip revision: e647949539f4704a00eddac2357d59ceeb8bc0ca authored by Brad King on 28 May 2020, 10:57:26 UTC
CMake 3.17.3
Tip revision: e647949
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