diff options
author | Nils Gladitz <nilsgladitz@gmail.com> | 2015-04-29 15:25:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-04-30 14:21:19 (GMT) |
commit | aed6239e40e7046c3f32e018d9c360ad0f624336 (patch) | |
tree | 704a638d740870f5c2c94d56d09e5f9b8a240472 /Tests/RunCMake/CMP0057/CMP0057-OLD.cmake | |
parent | 32a2f41402d38e1c5be3547bd042328df0b28124 (diff) | |
download | CMake-aed6239e40e7046c3f32e018d9c360ad0f624336.zip CMake-aed6239e40e7046c3f32e018d9c360ad0f624336.tar.gz CMake-aed6239e40e7046c3f32e018d9c360ad0f624336.tar.bz2 |
if: Implement new IN_LIST operator
Diffstat (limited to 'Tests/RunCMake/CMP0057/CMP0057-OLD.cmake')
-rw-r--r-- | Tests/RunCMake/CMP0057/CMP0057-OLD.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0057/CMP0057-OLD.cmake b/Tests/RunCMake/CMP0057/CMP0057-OLD.cmake new file mode 100644 index 0000000..cf9ec89 --- /dev/null +++ b/Tests/RunCMake/CMP0057/CMP0057-OLD.cmake @@ -0,0 +1,7 @@ +cmake_policy(SET CMP0057 OLD) + +set(MY_LIST foo bar) + +if("foo" IN_LIST MY_LIST) + message("foo is in MY_LIST") +endif() |