aboutsummaryrefslogtreecommitdiff
path: root/ports/gettext
diff options
context:
space:
mode:
Diffstat (limited to 'ports/gettext')
-rw-r--r--ports/gettext/portfile.cmake11
1 files changed, 4 insertions, 7 deletions
diff --git a/ports/gettext/portfile.cmake b/ports/gettext/portfile.cmake
index ef9f52563..33a7da3f4 100644
--- a/ports/gettext/portfile.cmake
+++ b/ports/gettext/portfile.cmake
@@ -1,10 +1,7 @@
-# Common Ambient Variables:
-# VCPKG_ROOT_DIR = <C:\path\to\current\vcpkg>
-# TARGET_TRIPLET is the current triplet (x86-windows, etc)
-# PORT is the current port name (zlib, etc)
-# CURRENT_BUILDTREES_DIR = ${VCPKG_ROOT_DIR}\buildtrees\${PORT}
-# CURRENT_PACKAGES_DIR = ${VCPKG_ROOT_DIR}\packages\${PORT}_${TARGET_TRIPLET}
-#
+if(VCPKG_CMAKE_SYSTEM_NAME AND NOT VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
+ set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
+ return()
+endif()
#Based on https://github.com/winlibs/gettext