use set instead of list in cmake for better compatibility