cmake: ignore unused-parameter warnings