[CMake] Replace list(FIND) by if(IN_LIST) where index isn't used
If we don't use the index otherwise, if(IN_LIST) is more readable and doesn't clutter the local scope with index variables. This was pointed out by @beanz in D96670. Reviewed By: beanz Differential Revision: https://reviews.llvm.org/D142405
Loading
Please sign in to comment