diff options
author | LC <mathew1800@gmail.com> | 2021-03-22 04:29:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-22 04:29:01 +0100 |
commit | e274e3820535d857834d96381c22ffc31e63fd52 (patch) | |
tree | 848b3f755178fef5f0db54d14832f0cac4149722 /externals/libusb | |
parent | Merge pull request #6052 from Morph1984/vi-getindirectlayerimagemap (diff) | |
parent | externals/libusb/CMakeLists: Add /utf-8 compile option for MSVC (diff) | |
download | yuzu-e274e3820535d857834d96381c22ffc31e63fd52.tar yuzu-e274e3820535d857834d96381c22ffc31e63fd52.tar.gz yuzu-e274e3820535d857834d96381c22ffc31e63fd52.tar.bz2 yuzu-e274e3820535d857834d96381c22ffc31e63fd52.tar.lz yuzu-e274e3820535d857834d96381c22ffc31e63fd52.tar.xz yuzu-e274e3820535d857834d96381c22ffc31e63fd52.tar.zst yuzu-e274e3820535d857834d96381c22ffc31e63fd52.zip |
Diffstat (limited to 'externals/libusb')
-rw-r--r-- | externals/libusb/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/externals/libusb/CMakeLists.txt b/externals/libusb/CMakeLists.txt index c0d24b126..70d6735e3 100644 --- a/externals/libusb/CMakeLists.txt +++ b/externals/libusb/CMakeLists.txt @@ -1,3 +1,8 @@ +# Ensure libusb compiles with UTF-8 encoding on MSVC +if(MSVC) + add_compile_options(/utf-8) +endif() + add_library(usb STATIC EXCLUDE_FROM_ALL libusb/libusb/core.c libusb/libusb/core.c |