You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
118 B
8 lines
118 B
10 years ago
|
cmake_policy(SET CMP0057 OLD)
|
||
|
|
||
|
set(MY_LIST foo bar)
|
||
|
|
||
|
if("foo" IN_LIST MY_LIST)
|
||
|
message("foo is in MY_LIST")
|
||
|
endif()
|