mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Turn off debug assertions in Release builds (#4959)
This commit is contained in:
commit
a3c17034c0
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue