-
Hello, I faced with the case that I can't figure out. That's might be something related to my lack of knowledge or something that might actually be a real case. My problem is next: In portfile.cmake I have next code to configure project B:
I have project B listed within project's A vcpkg.json file. So that vcpkg knows that project A depends on project B. In project's A CMakePresets file i have defined a "VCPKG_OVERLAY_PORTS": "${sourceDir}/vcpkg-ports" so that once I configure project A vcpkg knows where to look for project B. Basically look in the vcpkg-ports folder So far so good. Once I start configure project A vcpkg correctly detects that it depends on project B and it also detects project's B data in vcpkg-ports folder and tries to configure project B first. And here is where problem happens. However, if I configure project B manually, I mean not as dependency for some other project but a a standalone project, project's B dependency is correctly detected, configured and built. Would appreciate any help with that. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
That is not how vcpkg works. Are you trying to use vcpkg within vcpkg? That is probably not supported. |
Beta Was this translation helpful? Give feedback.
That is not how vcpkg works.
Are you trying to use vcpkg within vcpkg? That is probably not supported.