mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-10 13:44:17 +00:00
Prevent asserts from being compiled into moonlight-common-c and soundio in release builds
This commit is contained in:
parent
40fc9fa26f
commit
9a807a0685
2 changed files with 6 additions and 1 deletions
|
@ -67,7 +67,7 @@ INCLUDEPATH += \
|
|||
CONFIG += warn_off staticlib
|
||||
DEFINES += HAS_SOCKLEN_T
|
||||
|
||||
debug {
|
||||
CONFIG(debug, debug|release) {
|
||||
# Enable asserts on debug builds
|
||||
DEFINES += LC_DEBUG
|
||||
}
|
||||
|
|
|
@ -44,6 +44,11 @@ unix:!macx {
|
|||
}
|
||||
}
|
||||
|
||||
CONFIG(release, debug|release) {
|
||||
# Disable asserts on release builds
|
||||
DEFINES += NDEBUG
|
||||
}
|
||||
|
||||
DEFINES += \
|
||||
SOUNDIO_STATIC_LIBRARY \
|
||||
SOUNDIO_VERSION_MAJOR=1 \
|
||||
|
|
Loading…
Reference in a new issue