mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-07-02 00:26:02 +02:00
[cmake] Add ENABLE_WERROR option
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
4edb1ac6c5
commit
01dd32cc48
9 changed files with 20 additions and 15 deletions
|
|
@ -253,7 +253,7 @@ if (MSVC)
|
|||
)
|
||||
else()
|
||||
target_compile_options(shader_recompiler PRIVATE
|
||||
$<$<COMPILE_LANGUAGE:C,CXX>:-Werror=conversion>
|
||||
$<$<COMPILE_LANGUAGE:C,CXX>:-Wconversion>
|
||||
# Bracket depth determines maximum size of a fold expression in Clang since 9c9974c3ccb6.
|
||||
# And this in turns limits the size of a std::array.
|
||||
$<$<CXX_COMPILER_ID:Clang>:-fbracket-depth=1024>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue