mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 02:11:58 +08:00
[ceres] Fix missing iOS deployment target (#29432)
This commit is contained in:
parent
e1ba85acf9
commit
f648140dbc
@ -43,10 +43,17 @@ foreach (FEATURE ${FEATURE_OPTIONS})
|
||||
message(STATUS "${FEATURE}")
|
||||
endforeach()
|
||||
|
||||
set(TARGET_OPTIONS )
|
||||
if(VCPKG_TARGET_IS_IOS)
|
||||
# Note: CMake uses "OSX" not just for macOS, but also iOS, watchOS and tvOS.
|
||||
list(APPEND TARGET_OPTIONS "-DIOS_DEPLOYMENT_TARGET=${VCPKG_OSX_DEPLOYMENT_TARGET}")
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
${FEATURE_OPTIONS}
|
||||
${TARGET_OPTIONS}
|
||||
-DEXPORT_BUILD_DIR=ON
|
||||
-DBUILD_BENCHMARKS=OFF
|
||||
-DBUILD_EXAMPLES=OFF
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "ceres",
|
||||
"version": "2.1.0",
|
||||
"port-version": 2,
|
||||
"port-version": 3,
|
||||
"description": "non-linear optimization package",
|
||||
"homepage": "https://github.com/ceres-solver/ceres-solver",
|
||||
"license": "Apache-2.0",
|
||||
|
@ -1382,7 +1382,7 @@
|
||||
},
|
||||
"ceres": {
|
||||
"baseline": "2.1.0",
|
||||
"port-version": 2
|
||||
"port-version": 3
|
||||
},
|
||||
"cfitsio": {
|
||||
"baseline": "3.49",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "41580e5d78c0894588ee748ef09366ff9309aa0c",
|
||||
"version": "2.1.0",
|
||||
"port-version": 3
|
||||
},
|
||||
{
|
||||
"git-tree": "4baf16216d2d50574964ba5795a501bb89193042",
|
||||
"version": "2.1.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user