cmake compatibility