Fix again

This commit is contained in:
Jeremy 2024-05-15 20:00:53 -05:00
parent 2172164478
commit 10e7a5e442
No known key found for this signature in database
GPG Key ID: 19AA8270105E8EB4

View File

@ -240,8 +240,8 @@ target_include_directories(
target_compile_options(
${target_name}
PRIVATE
$<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wall -Wextra -Werror=return-type -Wundef -Wmaybe-uninitialized>
$<$<CXX_COMPILER_ID:GNU>:-Wuseless-cast>
$<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wall -Wextra -Werror=return-type -Wundef>
$<$<CXX_COMPILER_ID:GNU>:-Wuseless-cast -Wmaybe-uninitialized>
$<$<CXX_COMPILER_ID:MSVC>:/W4 /WX /permissive->
)