You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Todd Farmer (Jira)" <ji...@apache.org> on 2022/07/12 14:05:03 UTC

[jira] [Assigned] (ARROW-12886) [C++] Suppress vcpkg manifest disabled messages from msbuild

     [ https://issues.apache.org/jira/browse/ARROW-12886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Farmer reassigned ARROW-12886:
-----------------------------------

    Assignee:     (was: Ian Cook)

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.

> [C++] Suppress vcpkg manifest disabled messages from msbuild
> ------------------------------------------------------------
>
>                 Key: ARROW-12886
>                 URL: https://issues.apache.org/jira/browse/ARROW-12886
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>    Affects Versions: 4.0.0
>            Reporter: Ian Cook
>            Priority: Minor
>
> When building the Arrow library _without_ using vcpkg on a Windows system that has vcpkg installed, msbuild emits this message repeatedly during the build:
> {quote}{{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.}}
> {quote}
> 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.
> {code:java}
> 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(){code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)