mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-03 08:07:45 +00:00
cmake: Disable warnings for most externals on MSVC, like we do in the VS project files.
This commit is contained in:
parent
a5e85627b0
commit
6ea7af13e8
30 changed files with 56 additions and 0 deletions
2
Externals/libusb/CMakeLists.txt
vendored
2
Externals/libusb/CMakeLists.txt
vendored
|
@ -6,6 +6,8 @@ add_library(usb STATIC EXCLUDE_FROM_ALL
|
|||
libusb/libusb/strerror.c
|
||||
libusb/libusb/sync.c
|
||||
)
|
||||
dolphin_disable_warnings_msvc(usb)
|
||||
|
||||
set_target_properties(usb PROPERTIES VERSION 1.0.26)
|
||||
if(WIN32)
|
||||
target_include_directories(usb BEFORE PUBLIC libusb/libusb PRIVATE libusb/msvc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue