remove

在 3.0 版之後被棄用: 請改用 list(REMOVE_ITEM) 命令。

remove(VAR VALUE VALUE ...)

Removes VALUE from the variable VAR. This is typically used to remove entries from a vector (e.g. semicolon separated list). VALUE is expanded.