Transitive Dependency with overlay port #46993
Saad (saadshams)
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I’ve built a library (to be published) that depends on a library collection (already published)
I also have an executable that uses that library, which makes the collection a transitive dependency.
Executable Project (using overlay ports for both) → Library (path/to/local folder) → collection (path/to/local directory)
When I launch the executable, I get the following error: (config-arm64-osx-out.log)
Could not find a package configuration file provided by "collection" with
any of the following names:
Add the installation prefix of "collection" to CMAKE_PREFIX_PATH or set
"collection_DIR" to a directory containing one of the above files. If
"collection" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:9 (find_package)
collection on its own just installs fine.
All reactions