fix catmake about dealing with --only-pkg-with-deps