simplify how cmake arguments are set