Commit d916a082 authored by Graeme Gott's avatar Graeme Gott
Browse files

Only enable asserts and cast checks in Debug builds

parent f6125622
......@@ -65,9 +65,7 @@ target_compile_definitions(whiskermenu PRIVATE
G_LOG_DOMAIN="whiskermenu"
GSEAL_ENABLE
GTK_MULTIHEAD_SAFE
$<$<CONFIG:Release>:G_DISABLE_ASSERT G_DISABLE_CAST_CHECKS>
$<$<CONFIG:MinSizeRel>:G_DISABLE_ASSERT G_DISABLE_CAST_CHECKS>
$<$<CONFIG:RelWithDebInfo>:G_DISABLE_ASSERT G_DISABLE_CAST_CHECKS>)
$<$<NOT:$<CONFIG:Debug>>:G_DISABLE_ASSERT G_DISABLE_CAST_CHECKS>)
target_compile_features(whiskermenu PRIVATE cxx_std_11)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment