mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
Use official libusb repo
This commit is contained in:
parent
96be40bf30
commit
4befa36365
12 changed files with 493 additions and 4 deletions
20
3rdparty/libusb_cmake/cmake/modules/FindIOKit.cmake
vendored
Normal file
20
3rdparty/libusb_cmake/cmake/modules/FindIOKit.cmake
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
# IOKit_INCLUDE_DIR
|
||||
# IOKit_LIBRARIES
|
||||
# IOKit_FOUND
|
||||
include(LibFindMacros)
|
||||
|
||||
# IOKit depends on CoreFoundation
|
||||
find_package(CoreFoundation REQUIRED)
|
||||
|
||||
find_path(IOKit_INCLUDE_DIR
|
||||
IOKitLib.h
|
||||
PATH_SUFFIXES IOKit
|
||||
)
|
||||
|
||||
find_library(IOKit_LIBRARY
|
||||
NAMES IOKit
|
||||
)
|
||||
|
||||
set(IOKit_PROCESS_INCLUDES IOKit_INCLUDE_DIR CoreFoundation_INCLUDE_DIR)
|
||||
set(IOKit_PROCESS_LIBS IOKit_LIBRARY CoreFoundation_LIBRARIES)
|
||||
libfind_process(IOKit)
|
Loading…
Add table
Add a link
Reference in a new issue