Browse Source
Merge pull request #6078 from Morph1984/libusb-utf8
externals/libusb/CMakeLists: Add /utf-8 compile option for MSVC
pull/15/merge
LC
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
0 deletions
-
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 |
|
|
|
|