[cmake-developers] ExternalProject and git clone
Daniele E. Domenichelli
daniele.domenichelli at gmail.com
Wed Sep 18 12:07:40 EDT 2013
On 12/09/13 15:18, Brad King wrote:
>> + # FIXME is there a better way to avoid this CMP0012 warning? (see line 295)
>
> In any project with a sufficiently high cmake_minimum_required(VERSION)
> the policy should be set to NEW already.
How much is "sufficiently high"? According to "cmake --help-policy CMP0012":
This policy was introduced in CMake version 2.8.0. CMake version
2.8.11.20130918-g9bcf warns when the policy is not set and uses
OLD behavior. Use the cmake_policy command to set it to OLD or NEW
explicitly.
Daniele
More information about the cmake-developers
mailing list