mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-02 07:46:07 +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
@ -67,7 +67,7 @@ INCLUDEPATH += \
|
|||||||
CONFIG += warn_off staticlib
|
CONFIG += warn_off staticlib
|
||||||
DEFINES += HAS_SOCKLEN_T
|
DEFINES += HAS_SOCKLEN_T
|
||||||
|
|
||||||
debug {
|
CONFIG(debug, debug|release) {
|
||||||
# Enable asserts on debug builds
|
# Enable asserts on debug builds
|
||||||
DEFINES += LC_DEBUG
|
DEFINES += LC_DEBUG
|
||||||
}
|
}
|
||||||
|
@ -44,6 +44,11 @@ unix:!macx {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CONFIG(release, debug|release) {
|
||||||
|
# Disable asserts on release builds
|
||||||
|
DEFINES += NDEBUG
|
||||||
|
}
|
||||||
|
|
||||||
DEFINES += \
|
DEFINES += \
|
||||||
SOUNDIO_STATIC_LIBRARY \
|
SOUNDIO_STATIC_LIBRARY \
|
||||||
SOUNDIO_VERSION_MAJOR=1 \
|
SOUNDIO_VERSION_MAJOR=1 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user