aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Traversaro <pegua1@gmail.com>2016-12-24 15:26:58 +0100
committerGitHub <noreply@github.com>2016-12-24 15:26:58 +0100
commit1cc6a9c4ce2d920f8786789cf9913db07bbb4aee (patch)
tree246d94e9f1b787057400eb458f9704f2f36a744c
parentd3f477b351b3d9d70701d19fb13adae6d4fad1f3 (diff)
downloadvcpkg-1cc6a9c4ce2d920f8786789cf9913db07bbb4aee.tar.gz
vcpkg-1cc6a9c4ce2d920f8786789cf9913db07bbb4aee.zip
[qt5] Explicitly avoid compiling qt dependencies that could be available in vcpkg
To avoid problems such as the one described in https://github.com/Microsoft/vcpkg/issues/412 . If a particular dependency is actually needed, it can be added `-qt-<dep>` or `-system-<dep> to use the vcpkg version, see https://github.com/Microsoft/vcpkg/issues/455 .
-rw-r--r--ports/qt5/portfile.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/qt5/portfile.cmake b/ports/qt5/portfile.cmake
index c487d79a2..41c103870 100644
--- a/ports/qt5/portfile.cmake
+++ b/ports/qt5/portfile.cmake
@@ -47,6 +47,10 @@ vcpkg_execute_required_process(
-debug-and-release -force-debug-info ${QT_RUNTIME_LINKAGE}
-qt-zlib
-qt-libjpeg
+ -no-libpng
+ -no-freetype
+ -no-pcre
+ -no-harfbuzz
-system-sqlite
-nomake examples -nomake tests -skip webengine
-qt-sql-sqlite -qt-sql-psql