mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +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")
|
set(TARGET_CONFIG_SUFFIX "-dbg")
|
||||||
add_definitions(-D_DEBUG)
|
add_definitions(-D_DEBUG)
|
||||||
|
|
||||||
if(UNIX)
|
#if(UNIX)
|
||||||
# Enable all exports so all functions name can be seen during executable crash
|
# # Enable all exports so all functions name can be seen during executable crash
|
||||||
set(CMAKE_ENABLE_EXPORTS ON)
|
# set(CMAKE_ENABLE_EXPORTS ON)
|
||||||
message(STATUS "Enabling exports on Unix for backtrace")
|
# message(STATUS "Enabling exports on Unix for backtrace")
|
||||||
endif()
|
#endif()
|
||||||
ELSE()
|
ELSE()
|
||||||
set(TARGET_CONFIG_SUFFIX "")
|
set(TARGET_CONFIG_SUFFIX "")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue