mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-09-01 10:29:18 +02:00
Improve crash handling and diagnostics
This commit is contained in:
@@ -284,6 +284,10 @@ endif()
|
||||
|
||||
if (WITHDUMPGEN)
|
||||
set(DEFINITIONS ${DEFINITIONS} "WITHDUMPGEN")
|
||||
if (NOT MSVC AND NOT WIN32)
|
||||
# expose symbol names to backtrace() in the crash handler
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -rdynamic")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (WITH_OPENGL_MODERN)
|
||||
|
||||
Reference in New Issue
Block a user