aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormyd7349 <myd7349@gmail.com>2019-05-11 12:16:24 +0800
committermyd7349 <myd7349@gmail.com>2019-05-11 12:16:24 +0800
commitf1870ae02bedbaa5a501ddf3a7ba5d0a743a1053 (patch)
tree452a54ab0a3dd4e479b06e3d76fdb3513c426b5b
parentb37854348a9dab3e9121a3f08dd404fa09e0e80e (diff)
downloadvcpkg-f1870ae02bedbaa5a501ddf3a7ba5d0a743a1053.tar.gz
vcpkg-f1870ae02bedbaa5a501ddf3a7ba5d0a743a1053.zip
[septag-sx] Add error message
-rw-r--r--ports/septag-sx/CONTROL2
-rw-r--r--ports/septag-sx/portfile.cmake4
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/septag-sx/CONTROL b/ports/septag-sx/CONTROL
index 4c329f1a6..a9748b910 100644
--- a/ports/septag-sx/CONTROL
+++ b/ports/septag-sx/CONTROL
@@ -1,3 +1,3 @@
Source: septag-sx
-Version: 2019-05-07
+Version: 2019-05-07-1
Description: Portable base library for C programmers, designed for performance and simplicity.
diff --git a/ports/septag-sx/portfile.cmake b/ports/septag-sx/portfile.cmake
index 0c2e85fa4..d77545134 100644
--- a/ports/septag-sx/portfile.cmake
+++ b/ports/septag-sx/portfile.cmake
@@ -1,5 +1,9 @@
include(vcpkg_common_functions)
+if(TARGET_TRIPLET MATCHES "(uwp|arm)")
+ message(FATAL_ERROR "septag-sx doesn't support ${TARGET_TRIPLET} currently.")
+endif()
+
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO septag/sx