aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/ceres/0002_use_glog_target.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/ceres/0002_use_glog_target.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/ceres/0002_use_glog_target.patch')
-rw-r--r--vcpkg/ports/ceres/0002_use_glog_target.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/ceres/0002_use_glog_target.patch b/vcpkg/ports/ceres/0002_use_glog_target.patch
new file mode 100644
index 0000000..fcaefe7
--- /dev/null
+++ b/vcpkg/ports/ceres/0002_use_glog_target.patch
@@ -0,0 +1,13 @@
+diff --git a/internal/ceres/CMakeLists.txt b/internal/ceres/CMakeLists.txt
+index f9fc2415..0aaabe4d 100644
+--- a/internal/ceres/CMakeLists.txt
++++ b/internal/ceres/CMakeLists.txt
+@@ -85,7 +85,7 @@ endif (SCHUR_SPECIALIZATIONS)
+ SKIP_UNITY_BUILD_INCLUSION ON)
+
+ if (NOT MINIGLOG AND GLOG_FOUND)
+- list(APPEND CERES_LIBRARY_PUBLIC_DEPENDENCIES ${GLOG_LIBRARIES})
++ list(APPEND CERES_LIBRARY_PUBLIC_DEPENDENCIES glog::glog)
+ if (gflags_FOUND)
+ # If glog & gflags are both found, we assume that glog was built with
+ # gflags, as it is awkward to perform a try_compile() to verify this