diff options
| author | 2021-03-15 10:51:46 -0400 | |
|---|---|---|
| committer | 2021-03-15 10:51:46 -0400 | |
| commit | df9899eed6893f865229c26772e5f82697bde519 (patch) | |
| tree | 71222727efab8696f51c6e0bfb0d403c611ded3f /externals/libusb | |
| parent | Merge pull request #6054 from Morph1984/time-GetClockSnapshot (diff) | |
| download | yuzu-df9899eed6893f865229c26772e5f82697bde519.tar.gz yuzu-df9899eed6893f865229c26772e5f82697bde519.tar.xz yuzu-df9899eed6893f865229c26772e5f82697bde519.zip | |
externals/libusb/CMakeLists: Add /utf-8 compile option for MSVC
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 @@ | |||
| 1 | # Ensure libusb compiles with UTF-8 encoding on MSVC | ||
| 2 | if(MSVC) | ||
| 3 | add_compile_options(/utf-8) | ||
| 4 | endif() | ||
| 5 | |||
| 1 | add_library(usb STATIC EXCLUDE_FROM_ALL | 6 | add_library(usb STATIC EXCLUDE_FROM_ALL |
| 2 | libusb/libusb/core.c | 7 | libusb/libusb/core.c |
| 3 | libusb/libusb/core.c | 8 | libusb/libusb/core.c |