aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-11-30 12:43:45 -0800
committerRobert Schumacher <roschuma@microsoft.com>2017-11-30 12:43:45 -0800
commiteb8c9e084be627a96a9730f82c089b0d114e33ea (patch)
treec56df4e456f15df54661931390580e8d521a3869
parent26f12d20bbbce9247860f5cb0a14088f91d06970 (diff)
downloadvcpkg-eb8c9e084be627a96a9730f82c089b0d114e33ea.tar.gz
vcpkg-eb8c9e084be627a96a9730f82c089b0d114e33ea.zip
[llvm] Fail early on UWP
-rw-r--r--ports/llvm/portfile.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/llvm/portfile.cmake b/ports/llvm/portfile.cmake
index a2f32abe9..d2a82cf0b 100644
--- a/ports/llvm/portfile.cmake
+++ b/ports/llvm/portfile.cmake
@@ -2,6 +2,10 @@
# building with Microsoft toolchain; it's also the default on other platforms
set(VCPKG_LIBRARY_LINKAGE static)
+if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
+ message(FATAL_ERROR "llvm cannot currently be built for UWP")
+endif()
+
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/llvm-5.0.0.src)
vcpkg_download_distfile(ARCHIVE