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.
cmake/Tests/RunCMake/list/REMOVE_ITEM-NotList.cmake

7 lines
150 B

unset(nosuchlist)
list(REMOVE_ITEM nosuchlist alpha)
if (DEFINED nosuchlist)
message(FATAL_ERROR
"list(REMOVE_ITEM) created our list")
endif ()