mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-26 00:52:46 -06:00
libusb: Add /utf-8 compile option for MSVC.
This commit is contained in:
parent
a80e566464
commit
48fad3a903
1 changed files with 5 additions and 0 deletions
5
externals/libusb/CMakeLists.txt
vendored
5
externals/libusb/CMakeLists.txt
vendored
|
@ -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
|
add_library(usb STATIC EXCLUDE_FROM_ALL
|
||||||
libusb/libusb/core.c
|
libusb/libusb/core.c
|
||||||
libusb/libusb/core.c
|
libusb/libusb/core.c
|
||||||
|
|
Loading…
Reference in a new issue