diff options
| author | JackBoosY <47264268+JackBoosY@users.noreply.github.com> | 2019-07-18 02:39:54 +0800 |
|---|---|---|
| committer | Phil Christensen <philc@microsoft.com> | 2019-07-17 11:39:54 -0700 |
| commit | 800fd63cf3c1824784fa8c4caff122ab453661ce (patch) | |
| tree | f3c1484916e1385c60dc6ad6be25dd1d663d5e9d /ports/qt5-winextras | |
| parent | 30a3e3256f27623a3fce643d8d56170e9d3dc256 (diff) | |
| download | vcpkg-800fd63cf3c1824784fa8c4caff122ab453661ce.tar.gz vcpkg-800fd63cf3c1824784fa8c4caff122ab453661ce.zip | |
[qt5]Fix build failure in linux (#7230)
Diffstat (limited to 'ports/qt5-winextras')
| -rw-r--r-- | ports/qt5-winextras/CONTROL | 2 | ||||
| -rw-r--r-- | ports/qt5-winextras/portfile.cmake | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/qt5-winextras/CONTROL b/ports/qt5-winextras/CONTROL index 97c443d8c..89173dcdc 100644 --- a/ports/qt5-winextras/CONTROL +++ b/ports/qt5-winextras/CONTROL @@ -1,4 +1,4 @@ Source: qt5-winextras -Version: 5.12.3 +Version: 5.12.3-1 Description: Qt5 Windows Extras Module. Provides platform-specific APIs for Windows. Build-Depends: qt5-modularscripts, qt5-base, atlmfc diff --git a/ports/qt5-winextras/portfile.cmake b/ports/qt5-winextras/portfile.cmake index f0890bfaf..90adb16c0 100644 --- a/ports/qt5-winextras/portfile.cmake +++ b/ports/qt5-winextras/portfile.cmake @@ -1,5 +1,9 @@ include(vcpkg_common_functions) +if (NOT VCPKG_TARGET_IS_WINDOWS) + message(FATAL_ERROR "qt5-winextras only support Windows.") +endif() + include(${CURRENT_INSTALLED_DIR}/share/qt5modularscripts/qt_modular_library.cmake) qt_modular_library(qtwinextras e50cb237359ce7a3bde6989ec4349fe67be3b4999092516e891bba12f0fb4acb9954de8e2f0171db0e849b7d3ef94bd80f77f81162afb239e49c6e2e0760343b) |
