Set the ARCHIVE and NOEXTRACT variables so that downloading works. Also HASH is case-sensitive, so make it lower case.
vcpkg_find_acquire_program(NUGET) was failing with the following error message:
-- Downloading https://dist.nuget.org/win-x86-commandline/v4.8.1/nuget.exe...
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:159 (file):
file DOWNLOAD error: cannot create directory
'C:/Users/david/Documents/GitHub/vcpkg/downloads/temp/C:/Users/david/Documents/GitHub/vcpkg/downloads'
- Specify file by full path name and verify that you have directory
creation and file write privileges.
Call Stack (most recent call first):
scripts/cmake/vcpkg_find_acquire_program.cmake:255 (vcpkg_download_distfile)
ports/gobject-introspection/portfile.cmake:20 (vcpkg_find_acquire_program)
scripts/ports.cmake:71 (include)
* Add headers to vcpkg_download_distfile
Allows headers to be appended when downloading a distribution. This allows for setting
authentication headers to download from a private repository.
* [scripts,docs] Regenerate docs for portfile functions
* [docs,scripts] Fix typo regressions
* [docs,scripts] Fix broken link
* [qt5] Fix mac build
* [qt5] Disable parallel build on mac
* [qt5] Fix qmake find on mac
* [qt5] Update find jom for mac
* [qt5] Fix invocation of build command
* [qt5-base] Rebuild packages for #5624
* [harfbuzz] Remove disabled assert (failing due to -Werror)
* [qt5] Bump control version
* [qt5] Disable harfbuzz on mac
* [qt5-base] Disable harfbuzz on mac
* some libraries export <PackageName>LibraryDepends.cmake
instead of <PackageName>Targets.cmake.
Those file also need the fix of #1044
should close#4753
* prefered the general solution #4622.
hopefully solved the issue within #4150
replaced the regex with something more readable
(also ident is lost)
should close:
#4753#4633#4150
and maybe more
* Hash vcpkg_fixup_cmake_targets.cmake
* [boost] Fix use of find_package(Boost) with cache variables
[socket-io-client] Fix install
* reversed change back to use regex replace
* [glbinding] Fix _IMPORT_PREFIX depth in *-export.cmake files
* [tinyspline] Ignore warnings treated as errors
* [libevent, liblemon, libpng, smpeg2, zlib] Fix apply patches
* [libsodium] Fix apply patches
* [folly] Link correct libraries in debug and release
* [vtk] Remove unset of _IMPORT_PREFIX
* [tinyspline] Do not treat warnings as errors
* [smpeg2] Fix double* to int comparison
* [nvtt] Define value for HAVE_UNISTD_H in MacOS
* [libui] Fix MacOS X build
* [zlib] Fix download URL
* [qhull] Update to v7.2.1
* [podofo] Set value for HAVE_UNISTD_H in MacOS
* [mongo-cxx-driver,ogre,podofo,qhull] Bump CONTROL version
* [mongo-c-driver] Set _IMPORT_PREFIX
* [tmxparser] Bump CONTROL version
* [qhull,vxl] Bump CONTROL version
* [BZip2] Fix Unix Dynamic Builds
* [bzip2] Bump control version
* [libgta] Only build one flavor
* [vcpkg_configure_cmake] Resolve#2375 since we now use CMake >= 3.11
* update qt5-base to 5.12
* update modules to 5.12 (qt5-declarative and dependents don't work yet)
* fix qt5-declarative for 5.12 and some hashes.
* add qt5-declarative as dependency for qt5-graphicaleffects
* Use default library type for the platform instead of specifying SHARED
* [graphqlparser] Bump control version and slight cleanup
* [vcpkg_find_acquire_program] Correct for previous corruption of CI
* [xmsh] add support for xmsh library
- xmsh is a mesh document format. xmsh library is the reference
implementation for the format.
* [xmsh] removed extraneous file command
* [xmsh] update version to v0.2.3
* [xmsh] upgrade to version v0.3.1
* [xmsh] update to version v0.4
* + fix python executable packaging
* [vcpkg_find_acquire_program] Fix PYTHON3 on non-Windows
* [vcpkg] Fix CMAKE_SYSTEM_PROCESSOR
Add CMAKE_SYSTEM_PROCESSOR setting under UWP, Linux, and Darwin.
If explicitly specified VCPKG_CMAKE_SYSTEM_PROCESSOR in triplet files, CMAKE_SYSTEM_PROCESSOR is set to specified architecture.
* [vcpkg-toolchains] Move logic out of vcpkg_configure_cmake and into the toolchains.
* win_flex 2.5.9 is no longer downloadable, use 2.5.16
* [vcpkg_find_acquire_program] Fix links to flex and bison. Use subdir to avoid conflict with previous version.
* fdlibm init
* fix links
* Fix different hashes creation with google host
* Move functions to script
* Fix documentation
* [vcpkg_from_git] Add SHA512 argument, switch to zip to better support Windows.
* [fdlibm] Trigger rebuild
* [vcpkg_from_git] Use FETCH_HEAD reference to support tags
* Add SKIP_CLEAN option to vcpkg_install_msbuild
Also add vcpkg_clean_msbuild function to factor out clean
logic and allow re-use in portfiles.
* xalan-c: Correct header globbing
* vcpkg_install_msbuild: SKIP_CLEAN documentation correction
* [xalan-c] Add explicit check for localmsgindex header.
[docs] Regenerate
* [GraphicsMagick] bug-fix: image files won't load
GM (GraphicsMagick) was failing to load image files, notably PNG or JPEG
images, as it was being compiled with support for 'GraphicsMagick
Modules'. These are files with names specific to GM, and of the format,
'IM_*.dll'. vcpkg's install process was not setting these up. This
patch makes sure that when GM is built, it embed's GM's own
image-loading code into graphicsmagick.dll.
* [vcpkg_extract_source_archive_ex] Add PATCHES argument
* [openmesh] Use direct download instead of gitlab
* [blaze] Use PATCHES argument
* [graphicsmagick] Use vcpkg_extract_source_archive_ex
* [vcpkg] post-build cmake test
- test for applications with cmake build system
- Add a test feature to vcpkg core, make progress for #72
- Tests for zlib, bzip2, libiconv and openssl for example
- Test for curl will be failed, because of a bug #3053
It can detect a this type of problems
* [vcpkg_test_cmake] Add MODULE parameter to explicitly specify which type of integration to test.
* [bzip2] Fix casing of cmake module name
* use find_program to locate flex and bison when not Windows
* reset changes to thrift/portfile.cmake
* fix aquire flex and bison on non win platforms
* [vcpkg_find_acquire_program] Indentation and use CMAKE_HOST_WIN32
* breakpad: Enable building the libbreakpad_client library
That's the library that allows creating and uploading .dmp files
when a program crashes.
Use the same flags and setup as for libbreakpad, just note that
this commit changes the installation folder for headers which
was previously incorrect:
The libbreakpad headers were installed in include/google_breakpad,
but the correct path is include/breakpad/google_breakpad,
and client headers go into include/breakpad/client/windows.
* [breakpad] Install headers one directory higher
* [breakpad] Switch to only build static libraries. Disable libbreakpad_client on non-windows due to additional work required.