Add dependencies to CMake packages