fix: turn off debug assert in release builds

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers 2026-02-03 17:11:48 -07:00
parent 9e86c44f7c
commit d888ecaf11
No known key found for this signature in database
GPG key ID: B4CB507E51F8B89C

View file

@ -30,6 +30,9 @@ set(CMAKE_C_STANDARD_REQUIRED true)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_C_STANDARD 11)
include(GenerateExportHeader)
add_compile_definitions($<$<CONFIG:Release>:QT_NO_DEBUG>)
if(MSVC)
# /GS Adds buffer security checks, default on but incuded anyway to mirror gcc's fstack-protector flag
# /permissive- specify standards-conforming compiler behavior, also enabled by Qt6, default on with std:c++20