summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-03-15 15:51:46 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-03-15 15:51:46 +0100
commitdf9899eed6893f865229c26772e5f82697bde519 (patch)
tree71222727efab8696f51c6e0bfb0d403c611ded3f
parentMerge pull request #6054 from Morph1984/time-GetClockSnapshot (diff)
downloadyuzu-df9899eed6893f865229c26772e5f82697bde519.tar
yuzu-df9899eed6893f865229c26772e5f82697bde519.tar.gz
yuzu-df9899eed6893f865229c26772e5f82697bde519.tar.bz2
yuzu-df9899eed6893f865229c26772e5f82697bde519.tar.lz
yuzu-df9899eed6893f865229c26772e5f82697bde519.tar.xz
yuzu-df9899eed6893f865229c26772e5f82697bde519.tar.zst
yuzu-df9899eed6893f865229c26772e5f82697bde519.zip
-rw-r--r--externals/libusb/CMakeLists.txt5
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