diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-11-30 12:43:45 -0800 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-11-30 12:43:45 -0800 |
| commit | eb8c9e084be627a96a9730f82c089b0d114e33ea (patch) | |
| tree | c56df4e456f15df54661931390580e8d521a3869 | |
| parent | 26f12d20bbbce9247860f5cb0a14088f91d06970 (diff) | |
| download | vcpkg-eb8c9e084be627a96a9730f82c089b0d114e33ea.tar.gz vcpkg-eb8c9e084be627a96a9730f82c089b0d114e33ea.zip | |
[llvm] Fail early on UWP
| -rw-r--r-- | ports/llvm/portfile.cmake | 4 |
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 |
