Skip to content

[vcpkg] Avoid duplication of targets in the CMake message#6536

Merged
cbezault merged 1 commit intomicrosoft:masterfrom
myd7349:vcpkg-install-patch
May 20, 2019
Merged

[vcpkg] Avoid duplication of targets in the CMake message#6536
cbezault merged 1 commit intomicrosoft:masterfrom
myd7349:vcpkg-install-patch

Conversation

@myd7349
Copy link
Contributor

@myd7349 myd7349 commented May 20, 2019

vcpkg install octomap:x86-windows

Before:

The package octomap:x86-windows provides CMake targets:

    find_package(octomap CONFIG REQUIRED)
    # Note: 2 target(s) were omitted.
    target_link_libraries(main PRIVATE octomap octomap octomath octomath)

After:

The package octomap:x86-windows provides CMake targets:

    find_package(octomap CONFIG REQUIRED)
    target_link_libraries(main PRIVATE octomap octomath octomap-static octomath-static)

@cbezault cbezault self-assigned this May 20, 2019
@cbezault cbezault merged commit ce2a6ed into microsoft:master May 20, 2019
@myd7349 myd7349 deleted the vcpkg-install-patch branch May 20, 2019 23:28
strega-nil pushed a commit to strega-nil/vcpkg that referenced this pull request May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants