podspec: include darwin-specific header (#412)

This commit is contained in:
Ihor Dutchak
2022-05-31 14:58:01 +03:00
committed by GitHub
parent ace1e9a2dc
commit 59e84ca74f

4
dist/hidapi.podspec vendored
View File

@@ -22,9 +22,9 @@ Pod::Spec.new do |spec|
spec.source = { :git => "https://github.com/libusb/hidapi.git", :tag => "hidapi-#{spec.version}" }
spec.source_files = "mac/hid.c", "hidapi/hidapi.h"
spec.source_files = "mac/hid.c", "hidapi/hidapi.h", "mac/hidapi_darwin.h"
spec.public_header_files = "hidapi/hidapi.h"
spec.public_header_files = "hidapi/hidapi.h", "mac/hidapi_darwin.h"
spec.frameworks = "IOKit", "CoreFoundation", "AppKit"