diff options
Diffstat (limited to 'vcpkg/ports/ceres/0002_use_glog_target.patch')
| -rw-r--r-- | vcpkg/ports/ceres/0002_use_glog_target.patch | 13 |
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 |