aboutsummaryrefslogtreecommitdiff
path: root/ports/qt5-activeqt
diff options
context:
space:
mode:
authorJackBoosY <47264268+JackBoosY@users.noreply.github.com>2019-07-18 02:39:54 +0800
committerPhil Christensen <philc@microsoft.com>2019-07-17 11:39:54 -0700
commit800fd63cf3c1824784fa8c4caff122ab453661ce (patch)
treef3c1484916e1385c60dc6ad6be25dd1d663d5e9d /ports/qt5-activeqt
parent30a3e3256f27623a3fce643d8d56170e9d3dc256 (diff)
downloadvcpkg-800fd63cf3c1824784fa8c4caff122ab453661ce.tar.gz
vcpkg-800fd63cf3c1824784fa8c4caff122ab453661ce.zip
[qt5]Fix build failure in linux (#7230)
Diffstat (limited to 'ports/qt5-activeqt')
-rw-r--r--ports/qt5-activeqt/CONTROL2
-rw-r--r--ports/qt5-activeqt/portfile.cmake4
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/qt5-activeqt/CONTROL b/ports/qt5-activeqt/CONTROL
index 60ca38370..e2084f046 100644
--- a/ports/qt5-activeqt/CONTROL
+++ b/ports/qt5-activeqt/CONTROL
@@ -1,4 +1,4 @@
Source: qt5-activeqt
-Version: 5.12.3
+Version: 5.12.3-1
Description: Qt5 ActiveQt Module - ActiveX components
Build-Depends: qt5-modularscripts, qt5-base
diff --git a/ports/qt5-activeqt/portfile.cmake b/ports/qt5-activeqt/portfile.cmake
index 1e63132d8..40c4875d9 100644
--- a/ports/qt5-activeqt/portfile.cmake
+++ b/ports/qt5-activeqt/portfile.cmake
@@ -1,5 +1,9 @@
include(vcpkg_common_functions)
+if (NOT VCPKG_TARGET_IS_WINDOWS)
+ message(FATAL_ERROR "qt5-activeqt only support Windows.")
+endif()
+
include(${CURRENT_INSTALLED_DIR}/share/qt5modularscripts/qt_modular_library.cmake)
qt_modular_library(qtactiveqt 477c42653a59739aeeb17ab54bdd5cc50bc72a117250926e940c34d3f81d1b92356074056fb49f3cd811a88840377836b2d97cea8cbc62ae1d895168e7860753)