mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 18:20:36 +01:00
CMake: Force debug symbols in Linux Release builds
This commit is contained in:
1 parent
3a042d8c14
commit
ec927e5dd9
1 file changed
+6
@@ -169,6 +169,12 @@ if(WIN32)
|
||||
list(APPEND PCSX2_DEFS TIXML_USE_STL _SCL_SECURE_NO_WARNINGS _UNICODE UNICODE)
|
||||
endif()
|
||||
|
||||
# Enable debug information in release builds for Linux.
|
||||
# Makes the backtrace actually meaningful.
|
||||
if(UNIX AND NOT APPLE)
|
||||
add_compile_options($<$<CONFIG:Release>:-g>)
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
# Enable PDB generation in release builds
|
||||
add_compile_options(
|
||||
|
||||
Reference in new issue
Block a user