[CMake] CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0 FATAL_ERROR) and cmake_policy(VERSION 2.6.0) not working correctly for 2.6.2
Alan W. Irwin
irwin at beluga.phys.uvic.ca
Fri Feb 6 11:36:36 EST 2009
On 2009-02-06 08:19-0500 Brad King wrote:
> Alan W. Irwin wrote:
>> CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0 FATAL_ERROR)
>> is used?
>> If a policy is undefined as for CMP0008 and CMP0009 for 2.6.2 what does
>> mean? Is that the same as OLD (or NEW) or does the policy implementation
>> have buggy/unknown behaviour under these circumstances?
> The policies are defined but "unset". I've updated the documentation to
> clarify this:
> - "All policies introduced after the specified version will be reset "
> - "to use OLD behavior with a warning. "
> + "All policies introduced after the specified version will be unset. "
Perfect. Thanks for that clarifying documentation change. I am glad
everything was working just as intended.
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
More information about the CMake