2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

externals/libusb/CMakeLists: Add /utf-8 compile option for MSVC

This commit is contained in:
Morph 2021-03-15 10:51:46 -04:00
parent d3a4a192fe
commit df9899eed6

View file

@ -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