Skip to content

vcpkg overlay-port command seems not been considered when configuring a dependency with vcpkg_configure_cmake #37194

Answered by Neumann-A
andriy-fd asked this question in Q&A
Discussion options

You must be logged in to vote
// configuring the project
vcpkg_configure_cmake(
    SOURCE_PATH
    ${SOURCE_PATH}
    PREFER_NINJA
    OPTIONS
        -DBUILD_TESTING=OFF
        -DVCPKG_OVERLAY_PORTS="${SOURCE_PATH}/vcpkg-ports"
    )

That is not how vcpkg works.

Are you trying to use vcpkg within vcpkg? That is probably not supported.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@Neumann-A
Comment options

@andriy-fd
Comment options

@Neumann-A
Comment options

@andriy-fd
Comment options

@andriy-fd
Comment options

Answer selected by andriy-fd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants