diff --git a/ports/ceres/portfile.cmake b/ports/ceres/portfile.cmake index c3aad82243..8cb1812736 100644 --- a/ports/ceres/portfile.cmake +++ b/ports/ceres/portfile.cmake @@ -35,6 +35,13 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS "tools" GFLAGS "cuda" CUDA ) +if(VCPKG_TARGET_IS_UWP) + list(APPEND FEATURE_OPTIONS -DMINIGLOG=ON) +endif() + +foreach (FEATURE ${FEATURE_OPTIONS}) + message(STATUS "${FEATURE}") +endforeach() vcpkg_cmake_configure( SOURCE_PATH "${SOURCE_PATH}" diff --git a/ports/ceres/vcpkg.json b/ports/ceres/vcpkg.json index 6b1e2e7b42..a37a30760f 100644 --- a/ports/ceres/vcpkg.json +++ b/ports/ceres/vcpkg.json @@ -1,13 +1,16 @@ { "name": "ceres", "version": "2.1.0", - "port-version": 1, + "port-version": 2, "description": "non-linear optimization package", "homepage": "https://github.com/ceres-solver/ceres-solver", "license": "Apache-2.0", "dependencies": [ "eigen3", - "glog", + { + "name": "glog", + "platform": "!(arm & uwp)" + }, { "name": "vcpkg-cmake", "host": true diff --git a/versions/baseline.json b/versions/baseline.json index dcedb8eb87..6a7f8719ab 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1330,7 +1330,7 @@ }, "ceres": { "baseline": "2.1.0", - "port-version": 1 + "port-version": 2 }, "cfitsio": { "baseline": "3.49", diff --git a/versions/c-/ceres.json b/versions/c-/ceres.json index 9697d19bef..ded354d853 100644 --- a/versions/c-/ceres.json +++ b/versions/c-/ceres.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "4baf16216d2d50574964ba5795a501bb89193042", + "version": "2.1.0", + "port-version": 2 + }, { "git-tree": "85a5ff9f8727124ce91655f2d37b9a6c77f367e1", "version": "2.1.0",