mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Fixed weird crashes
This commit is contained in:
parent
e45289d28b
commit
4f941eada1
1 changed files with 5 additions and 5 deletions
|
@ -53,11 +53,11 @@ IF(CMAKE_BUILD_TYPE MATCHES Debug)
|
|||
set(TARGET_CONFIG_SUFFIX "-dbg")
|
||||
add_definitions(-D_DEBUG)
|
||||
|
||||
if(UNIX)
|
||||
# Enable all exports so all functions name can be seen during executable crash
|
||||
set(CMAKE_ENABLE_EXPORTS ON)
|
||||
message(STATUS "Enabling exports on Unix for backtrace")
|
||||
endif()
|
||||
#if(UNIX)
|
||||
# # Enable all exports so all functions name can be seen during executable crash
|
||||
# set(CMAKE_ENABLE_EXPORTS ON)
|
||||
# message(STATUS "Enabling exports on Unix for backtrace")
|
||||
#endif()
|
||||
ELSE()
|
||||
set(TARGET_CONFIG_SUFFIX "")
|
||||
ENDIF()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue