[cmake] Suppress parentheses-equality warnings