aboutsummaryrefslogtreecommitdiff
path: root/ports/qt5-base/cmake
diff options
context:
space:
mode:
authorAlexander Neumann <30894796+Neumann-A@users.noreply.github.com>2019-09-20 23:06:43 +0200
committerPhil Christensen <philc@microsoft.com>2019-09-20 14:06:43 -0700
commit86a5b6fd7b58be61ebc375c5f61b3e99fd47b2ae (patch)
tree29914d1ca396a7e136bc2e381bff46a459ff163e /ports/qt5-base/cmake
parentd060ff5b8bcc3c42cafec2dbf51d6be2e1cd4cac (diff)
downloadvcpkg-86a5b6fd7b58be61ebc375c5f61b3e99fd47b2ae.tar.gz
vcpkg-86a5b6fd7b58be61ebc375c5f61b3e99fd47b2ae.zip
[Qt] Fix static builds of qt5-imageformats (#8222)
* forward extra arguments to vcpkg_configure_qmake from submodules * make image format dependent on tiff and libwebp * make tools dependent on imageformat * build options must be passed a bit different then normal qmake options * add the required dependencies * a new dependency discovered in qt5-declarative * need webpdemux also * qt5-declarative is dependent on imageformats so we can drop it here * remove empty qt.conf if it exists. closes #8180 * add all recommended dependencies as dependencies in control.
Diffstat (limited to 'ports/qt5-base/cmake')
-rw-r--r--ports/qt5-base/cmake/qt_build_submodule.cmake2
-rw-r--r--ports/qt5-base/cmake/qt_submodule_installation.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/qt5-base/cmake/qt_build_submodule.cmake b/ports/qt5-base/cmake/qt_build_submodule.cmake
index f850ad551..78249f58a 100644
--- a/ports/qt5-base/cmake/qt_build_submodule.cmake
+++ b/ports/qt5-base/cmake/qt_build_submodule.cmake
@@ -7,7 +7,7 @@ function(qt_build_submodule SOURCE_PATH)
get_filename_component(PYTHON2_EXE_PATH ${PYTHON2} DIRECTORY)
vcpkg_add_to_path("${PYTHON2_EXE_PATH}")
- vcpkg_configure_qmake(SOURCE_PATH ${SOURCE_PATH})
+ vcpkg_configure_qmake(SOURCE_PATH ${SOURCE_PATH} ${ARGV})
vcpkg_build_qmake(SKIP_MAKEFILES)
diff --git a/ports/qt5-base/cmake/qt_submodule_installation.cmake b/ports/qt5-base/cmake/qt_submodule_installation.cmake
index a76e1bcbd..197c0ace4 100644
--- a/ports/qt5-base/cmake/qt_submodule_installation.cmake
+++ b/ports/qt5-base/cmake/qt_submodule_installation.cmake
@@ -5,7 +5,7 @@ function(qt_submodule_installation)
if(QT_UPDATE_VERSION)
SET(VCPKG_POLICY_EMPTY_PACKAGE enabled PARENT_SCOPE)
else()
- qt_build_submodule(${TARGET_SOURCE_PATH})
+ qt_build_submodule(${TARGET_SOURCE_PATH} ${ARGV})
qt_install_copyright(${TARGET_SOURCE_PATH})
endif()
endfunction() \ No newline at end of file