mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 12:06:49 +08:00
[theia] Avoid injecting ceres[suitesparse] into 32-bit ci builds
This commit is contained in:
parent
599aea98c9
commit
1a296f33e6
@ -1,4 +1,4 @@
|
|||||||
Source: theia
|
Source: theia
|
||||||
Version: 0.7-d15154a-2
|
Version: 0.7-d15154a-3
|
||||||
Build-Depends: flann, cereal, ceres[suitesparse], openimageio, glew, freeglut
|
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
|
Description: An open source library for multiview geometry and structure from motion
|
||||||
|
@ -3,6 +3,10 @@ if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
|||||||
set(VCPKG_LIBRARY_LINKAGE static)
|
set(VCPKG_LIBRARY_LINKAGE static)
|
||||||
endif()
|
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)
|
include(vcpkg_common_functions)
|
||||||
|
|
||||||
vcpkg_from_github(
|
vcpkg_from_github(
|
||||||
|
Loading…
Reference in New Issue
Block a user