Files
MINGW-packages/mingw-w64-glog/001-force-linking-to-dbghelp.patch
Christoph Reiter d12507d04c Revert "ng-log: Replacing glog library with its fork" (#24348)
This reverts commit be8c109f2f.

Turns out it's not API compatible, so we can only switch once all
downstreams are fixed.
2025-05-24 11:46:40 +02:00

16 lines
473 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -438,9 +438,9 @@
set (Unwind_DEPENDENCY "find_dependency (Unwind ${Unwind_VERSION})")
endif (Unwind_FOUND)
-if (HAVE_DBGHELP)
+if (HAVE_DBGHELP OR MINGW)
target_link_libraries (glog PRIVATE dbghelp)
set (glog_libraries_options_for_static_linking "${glog_libraries_options_for_static_linking} -ldbghelp")
-endif (HAVE_DBGHELP)
+endif (HAVE_DBGHELP OR MINGW)
target_link_libraries (glog PRIVATE Threads::Threads)