Don't use CPack if we're not installing either.