diff options
author | Brad King <brad.king@kitware.com> | 2015-05-19 16:54:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-05-19 16:56:07 (GMT) |
commit | a4596f204822c91581ca69d513e0ed3638eee495 (patch) | |
tree | 5b1be1d7a7f972b81ab17a5c6c32e947ab3f69cc /Modules/CMakeSystemSpecificInformation.cmake | |
parent | 6784f0a6eb21a3b6a0969aa08482ba7e3b23fa20 (diff) | |
download | CMake-a4596f204822c91581ca69d513e0ed3638eee495.zip CMake-a4596f204822c91581ca69d513e0ed3638eee495.tar.gz CMake-a4596f204822c91581ca69d513e0ed3638eee495.tar.bz2 |
CheckTypeSize: Do not use cmake_policy(VERSION)
Do not force a specific policy version in the module because it prevents
projects from setting newer policies to NEW. In particular, projects
may want to set CMP0056 to NEW to affect any try_compile calls in this
module.
Use of this was added in commit v2.8.2~539 (New CheckTypeSize for OS X
Universal Binaries, 2009-12-17) and updated in commit v3.1.0-rc1~511^2~1
(Do not change minimum required version in modules, 2014-05-07). The
history does not clearly explain why a specific policy version was
introduced. If specific policies need to be NEW then we can add
explicit settings for them.
Diffstat (limited to 'Modules/CMakeSystemSpecificInformation.cmake')
0 files changed, 0 insertions, 0 deletions