-
Notifications
You must be signed in to change notification settings - Fork 4k
Description
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=falseto 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:
- [C++] Add vcpkg.json manifest to cpp project root (relates to)
Note: This issue was originally created as ARROW-12886. Please see the migration documentation for further details.