aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryintothayang <yintothayang@gmail.com>2017-05-24 00:39:25 +0900
committeryintothayang <yintothayang@gmail.com>2017-05-24 00:39:25 +0900
commitc37a0f1dca1b844daf2a5a515e1f5c6e98ff1292 (patch)
treee7f40ff811e90d9daa8e0b42c2321d889093d0f1
parent8f230963fbd2675e6c709982fcad68b8471f0a69 (diff)
downloadvcpkg-c37a0f1dca1b844daf2a5a515e1f5c6e98ff1292.tar.gz
vcpkg-c37a0f1dca1b844daf2a5a515e1f5c6e98ff1292.zip
disallow ARM and UWP arch
-rw-r--r--ports/redshell/portfile.cmake8
1 files changed, 8 insertions, 0 deletions
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(