aboutsummaryrefslogtreecommitdiff
path: root/ports/flatbuffers
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-11-26 10:28:16 -0800
committerRobert Schumacher <roschuma@microsoft.com>2017-11-26 10:28:16 -0800
commit7938006022d38176c2a9c7dd2829385559491ee0 (patch)
treea523ed168fb1200698d7a8d74ce9fef8b0e845b5 /ports/flatbuffers
parent97101d4bd500d3784f3cd9524dbdaa1ef45978d3 (diff)
downloadvcpkg-7938006022d38176c2a9c7dd2829385559491ee0.tar.gz
vcpkg-7938006022d38176c2a9c7dd2829385559491ee0.zip
[ports] Mark several ports as unbuildable on UWP
Diffstat (limited to 'ports/flatbuffers')
-rw-r--r--ports/flatbuffers/portfile.cmake12
1 files changed, 4 insertions, 8 deletions
diff --git a/ports/flatbuffers/portfile.cmake b/ports/flatbuffers/portfile.cmake
index b785e2fc5..4df390de0 100644
--- a/ports/flatbuffers/portfile.cmake
+++ b/ports/flatbuffers/portfile.cmake
@@ -1,11 +1,3 @@
-# Common Ambient Variables:
-# VCPKG_ROOT_DIR = <C:\path\to\current\vcpkg>
-# TARGET_TRIPLET is the current triplet (x86-windows, etc)
-# PORT is the current port name (zlib, etc)
-# CURRENT_BUILDTREES_DIR = ${VCPKG_ROOT_DIR}\buildtrees\${PORT}
-# CURRENT_PACKAGES_DIR = ${VCPKG_ROOT_DIR}\packages\${PORT}_${TARGET_TRIPLET}
-#
-
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
message("Building DLLs not supported. Building static instead.")
set(VCPKG_LIBRARY_LINKAGE static)
@@ -20,6 +12,10 @@ vcpkg_from_github(
HEAD_REF master
)
+if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
+ list(APPEND OPTIONS -DFLATBUFFERS_BUILD_FLATC=OFF -DFLATBUFFERS_BUILD_FLATHASH=OFF)
+endif()
+
set(OPTIONS)
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
list(APPEND OPTIONS -DFLATBUFFERS_BUILD_SHAREDLIB=ON)