FindBoost: Simplify search in lists
Instead of list(FIND...)
and then checking result for -1
(found/not-found), nowadays if
command has the IN_LIST
test for that.
This change was originally made by !750 (merged) but then had to be reverted by !1238 (merged) due to problems related to using find_dependency
. Those problems were addressed by !1272 (merged), so now we can restore the original change.
Issue: #17252 (closed)