fix: disable qt debug in every non-debug build (#5022)

This commit is contained in:
DioEgizio 2026-02-14 08:48:32 +00:00 committed by GitHub
commit 232e9fde09
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,7 +31,7 @@ set(CMAKE_CXX_STANDARD 20)
set(CMAKE_C_STANDARD 11)
include(GenerateExportHeader)
add_compile_definitions($<$<CONFIG:Release>:QT_NO_DEBUG>)
add_compile_definitions($<$<NOT:$<CONFIG:Debug>>:QT_NO_DEBUG>)
if(MSVC)
# /GS Adds buffer security checks, default on but incuded anyway to mirror gcc's fstack-protector flag