diff options
author | Brad King <brad.king@kitware.com> | 2008-03-20 22:25:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-03-20 22:25:59 (GMT) |
commit | a6a673979dded1cc97a76c193e29bab64b00480e (patch) | |
tree | bf8c8d7b6260059a997d0f49c8ce07f730a00682 /Source/cmComputeLinkInformation.h | |
parent | 8e2f45c24b98ad97be584c61528a82807ef5cebe (diff) | |
download | CMake-a6a673979dded1cc97a76c193e29bab64b00480e.zip CMake-a6a673979dded1cc97a76c193e29bab64b00480e.tar.gz CMake-a6a673979dded1cc97a76c193e29bab64b00480e.tar.bz2 |
ENH: Add "if(POLICY policy-id)" option for IF command.
- This will help projects support multiple CMake versions.
- In order to set a policy when using a newer CMake but still
working with an older CMake one may write
if(POLICY CMP1234)
cmake_policy(SET CMP1234 NEW)
endif(POLICY CMP1234)
- Note that since CMake 2.4 does not have if(POLICY) supporting
it will also require using "if(COMMAND cmake_policy)"
Diffstat (limited to 'Source/cmComputeLinkInformation.h')
0 files changed, 0 insertions, 0 deletions