summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPierre Joye <pierre.php@gmail.com>2021-08-27 05:03:58 +0700
committerPierre Joye <pierre.php@gmail.com>2021-08-27 05:03:58 +0700
commit284a2c6caee99d9d36ef934287a6a1c25eb196a5 (patch)
treeda021e4480030c7b95b6f80e2d87bd1f0c03ce2e /docs
parent81716a06f4cc3af00134c2cc6b0f937fb5ee8b3d (diff)
downloadlibgd-284a2c6caee99d9d36ef934287a6a1c25eb196a5.tar.gz
rare case, but let other not waste time trying to fix it
Diffstat (limited to 'docs')
-rw-r--r--docs/README.CMAKE8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/README.CMAKE b/docs/README.CMAKE
index e964f4f..c9f0382 100644
--- a/docs/README.CMAKE
+++ b/docs/README.CMAKE
@@ -61,7 +61,7 @@ the required libraries, vcpkg can install them automatically. The steps are:
1. Install vcpkg, see https://vcpkg.io/en/getting-started.html
2. Choose the vcpkg architecture
- SET VCPKG_DEFAULT_TRIPLET="x64-windows" (or add pkgname:x64-windows)
+ SET VCPKG_DEFAULT_TRIPLET=x64-windows (or add pkgname:x64-windows)
3. install the dependencies needed for the build. F.e.
C:\vcpkg\vcpkg.exe install libpng libjpeg-turbo freetype tiff libheif libwebp
4. add -DCMAKE_TOOLCHAIN_FILE=[path to c:\path\to\vcpkg]\scripts\buildsystems\vcpkg.cmake
@@ -69,4 +69,8 @@ the required libraries, vcpkg can install them automatically. The steps are:
It is then not needed to manually add CMAKE_INCLUDE_PATH or CMAKE_LIBRARY_PATH as options.
-See the https://vcpkg.io for more informations about vcpkg and how to customize an install. \ No newline at end of file
+See the https://vcpkg.io for more informations about vcpkg and how to customize an install.
+
+Randomly, you may cmake may fail to find the dependencies, with vcpkg at least up to 2021-08-12-85ab112d5ee102bc6eac8cdbbfdd173a71374e04 (as of the time of writing).
+So far the only way to fix it is to reinstall vcpkg and then install the dependencies again. See https://github.com/microsoft/vcpkg/issues/13614,
+especially my comment on the 27th of August 2021 and follow ups. \ No newline at end of file