aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2018-04-03 12:49:43 -0700
committerRobert Schumacher <roschuma@microsoft.com>2018-04-04 16:51:10 -0700
commit1a296f33e6f1b2857f9916cfb5577ef8b805857b (patch)
tree60dc19a3c39aae4e1cc7edd62c365a990f0dcb42
parent599aea98c9a2ef587fd9deacdfcf64dfa2e3c4db (diff)
downloadvcpkg-1a296f33e6f1b2857f9916cfb5577ef8b805857b.tar.gz
vcpkg-1a296f33e6f1b2857f9916cfb5577ef8b805857b.zip
[theia] Avoid injecting ceres[suitesparse] into 32-bit ci builds
-rw-r--r--ports/theia/CONTROL4
-rw-r--r--ports/theia/portfile.cmake4
2 files changed, 6 insertions, 2 deletions
diff --git a/ports/theia/CONTROL b/ports/theia/CONTROL
index 06dcc80c8..83d6c2c53 100644
--- a/ports/theia/CONTROL
+++ b/ports/theia/CONTROL
@@ -1,4 +1,4 @@
Source: theia
-Version: 0.7-d15154a-2
-Build-Depends: flann, cereal, ceres[suitesparse], openimageio, glew, freeglut
+Version: 0.7-d15154a-3
+Build-Depends: flann, cereal, ceres[suitesparse] (!x86&!uwp&!arm&!linux&!osx), openimageio, glew, freeglut
Description: An open source library for multiview geometry and structure from motion
diff --git a/ports/theia/portfile.cmake b/ports/theia/portfile.cmake
index d2e4c6699..b2e61fae1 100644
--- a/ports/theia/portfile.cmake
+++ b/ports/theia/portfile.cmake
@@ -3,6 +3,10 @@ if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
set(VCPKG_LIBRARY_LINKAGE static)
endif()
+if(VCPKG_TARGET_ARCHIECTURE STREQUAL "x86")
+ message(FATAL_ERROR "theia requires ceres[suitesparse] which depends on suitesparse which depends on openblas which is unavailable on x86.")
+endif()
+
include(vcpkg_common_functions)
vcpkg_from_github(