From f1870ae02bedbaa5a501ddf3a7ba5d0a743a1053 Mon Sep 17 00:00:00 2001 From: myd7349 Date: Sat, 11 May 2019 12:16:24 +0800 Subject: [PATCH] [septag-sx] Add error message --- ports/septag-sx/CONTROL | 2 +- ports/septag-sx/portfile.cmake | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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