This reverts commit be8c109f2f.
Turns out it's not API compatible, so we can only switch once all
downstreams are fixed.
16 lines
473 B
Diff
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)
|
|
|