From eb8c9e084be627a96a9730f82c089b0d114e33ea Mon Sep 17 00:00:00 2001 From: Robert Schumacher Date: Thu, 30 Nov 2017 12:43:45 -0800 Subject: [llvm] Fail early on UWP --- ports/llvm/portfile.cmake | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3