yuzu/externals/vcpkg/ports/glog/fix_crosscompile_symbolize.patch

19 lines
404 B
Diff
Raw Normal View History

2022-07-23 05:01:36 +04:00
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -401,4 +401,7 @@
if (WITH_SYMBOLIZE)
if (WIN32 OR CYGWIN)
+ if(CMAKE_CROSSCOMPILING)
+ set(HAVE_SYMBOLIZE 0)
+ else()
cmake_push_check_state (RESET)
set (CMAKE_REQUIRED_LIBRARIES DbgHelp)
@@ -430,6 +433,7 @@
]=] HAVE_SYMBOLIZE)
cmake_pop_check_state ()
+ endif()
if (HAVE_SYMBOLIZE)
set (HAVE_STACKTRACE 1)