Skip to content

[C++] Suppress vcpkg manifest disabled messages from msbuild #28616

Closed as not planned

Description

@asfimport

When building the Arrow library without using vcpkg on a Windows system that has vcpkg installed, msbuild emits this message repeatedly during the build:

The vcpkg manifest was disabled, but we found a manifest file in $(VcpkgManifestRoot). You may want to enable vcpkg manifests in your properties page or pass /p:VcpkgEnableManifest=true to the msbuild invocation.
This is of no consequence but it's annoying. See if we can configure the cmake files to add /p:VcpkgEnableManifest=false to the compiler flags to suppress this message when vcpkg is not being used for dependencies.

E.g. in SetupCxxFlags.cmake, add a conditional like this, including a status message.

if(MSVC AND NOT ARROW_DEPENDENCY_SOURCE STREQUAL "VCPKG")
  message(STATUS "Disabling the vcpkg manifest. To enable the vcpkg manifest, set -DARROW_DEPENDENCY_SOURCE=VCPKG")
  set(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} /p:VcpkgEnableManifest=false")
endif()

 

Reporter: Ian Cook / @ianmcook

Related issues:

Note: This issue was originally created as ARROW-12886. Please see the migration documentation for further details.

Activity

  1. asfimport commented on Jul 12, 2022

    @asfimport
    Author

    Todd Farmer / @toddfarmer:
    This issue was last updated over 90 days ago, which may be an indication it is no longer being actively worked. To better reflect the current state, the issue is being unassigned. Please feel free to re-take assignment of the issue if it is being actively worked, or if you plan to start that work soon.

  2. github-actions commented on Jan 27, 2026

    @github-actions

    This issue has been marked as stale because it has had no activity in the past 365 days. Please remove the stale label or comment below, or this issue will be closed in 14 days. If this improvement is still desired but has no current owner, please add the 'Status: needs champion' label.

  3. added
    Status: stale-warning
    on Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: C++Status: stale-warningType: enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions