Keep a frame pointer register on OSX - libunwind seems to crash when it's not present
This commit is contained in:
1 parent
194ada2481
commit
43d862bff9
1 file changed
+1
-1
+1
-1
@@ -247,7 +247,7 @@ if(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
set(wxWidgets_USE_DEBUG ON CACHE BOOL "Use wxWidgets Debugging")
|
||||
endif(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
|
||||
if(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
if(CMAKE_BUILD_TYPE STREQUAL Release AND NOT APPLE)
|
||||
add_definitions(-fomit-frame-pointer)
|
||||
endif(CMAKE_BUILD_TYPE STREQUAL Release)
|
||||
|
||||
|
||||
Reference in new issue
Block a user