From 366945fd29e0b944f2ce62a95b712a08cf790bcf Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Wed, 29 Apr 2020 03:57:49 +1000 Subject: [PATCH] add rdynamic to the linux build options This appears to be necessary for debug symbols to show in the crash handler. --- app/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 24f7d9116..0c9c4661f 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -107,6 +107,14 @@ else() ) endif() +if(UNIX AND NOT APPLE) + target_compile_options( + ${OLIVE_TARGET} + PRIVATE + -rdynamic + ) +endif() + # Set include directories target_include_directories( ${OLIVE_TARGET}