Fix use new cmake variable