diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-08 21:14:21 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-08 23:49:39 +0100 |
commit | 18c1cb68fd9b49751344f09413307d80a346f1f9 (patch) | |
tree | 23e1665d31c56b6a4274d62430470f5f81c7c4d0 /src/video_core | |
parent | video_core: Silence implicit conversion warnings (diff) | |
download | yuzu-18c1cb68fd9b49751344f09413307d80a346f1f9.tar yuzu-18c1cb68fd9b49751344f09413307d80a346f1f9.tar.gz yuzu-18c1cb68fd9b49751344f09413307d80a346f1f9.tar.bz2 yuzu-18c1cb68fd9b49751344f09413307d80a346f1f9.tar.lz yuzu-18c1cb68fd9b49751344f09413307d80a346f1f9.tar.xz yuzu-18c1cb68fd9b49751344f09413307d80a346f1f9.tar.zst yuzu-18c1cb68fd9b49751344f09413307d80a346f1f9.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt index c911c6ec4..35e933858 100644 --- a/src/video_core/CMakeLists.txt +++ b/src/video_core/CMakeLists.txt @@ -180,3 +180,9 @@ target_link_libraries(video_core PRIVATE glad) if (ENABLE_VULKAN) target_link_libraries(video_core PRIVATE sirit) endif() + +if (MSVC) + target_compile_options(video_core PRIVATE /we4267) +else() + target_compile_options(video_core PRIVATE -Werror=conversion -Wno-sign-conversion) +endif() |