From c37a0f1dca1b844daf2a5a515e1f5c6e98ff1292 Mon Sep 17 00:00:00 2001 From: yintothayang Date: Wed, 24 May 2017 00:39:25 +0900 Subject: disallow ARM and UWP arch --- ports/redshell/portfile.cmake | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ports/redshell/portfile.cmake b/ports/redshell/portfile.cmake index 89fef684a..c394d7013 100644 --- a/ports/redshell/portfile.cmake +++ b/ports/redshell/portfile.cmake @@ -1,5 +1,13 @@ include(vcpkg_common_functions) +if(VCPKG_TARGET_ARCHITECTURE STREQUAL arm) + message(FATAL_ERROR "Error: redshell does not support the ARM architecture.") +endif() + +if (VCPKG_CMAKE_SYSTEM_NAME STREQUAL WindowsStore) + message(FATAL_ERROR "Error: redshell does not support UWP builds.") +endif() + set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/redshell) vcpkg_from_github( -- cgit v1.2.3