mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
fix: disable qt debug in every non-debug build
without this change it was still enabled in RelWithDebInfo Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
This commit is contained in:
parent
a90c438655
commit
61c13655d3
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ set(CMAKE_CXX_STANDARD 20)
|
||||||
set(CMAKE_C_STANDARD 11)
|
set(CMAKE_C_STANDARD 11)
|
||||||
include(GenerateExportHeader)
|
include(GenerateExportHeader)
|
||||||
|
|
||||||
add_compile_definitions($<$<CONFIG:Release>:QT_NO_DEBUG>)
|
add_compile_definitions($<$<NOT:$<CONFIG:Debug>>:QT_NO_DEBUG>)
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
# /GS Adds buffer security checks, default on but incuded anyway to mirror gcc's fstack-protector flag
|
# /GS Adds buffer security checks, default on but incuded anyway to mirror gcc's fstack-protector flag
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue