CMake/Tests/RunCMake/CMP0057/CMP0057-OLD.cmake

8 lines
118 B
CMake
Raw Normal View History

2015-04-29 18:25:13 +03:00
cmake_policy(SET CMP0057 OLD)
set(MY_LIST foo bar)
if("foo" IN_LIST MY_LIST)
message("foo is in MY_LIST")
endif()