Skip to content

Commit

Permalink
Fix third-party/libusb build on a Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
radfordi committed Apr 5, 2019
1 parent 6e0a0b0 commit 0e1a354
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions third-party/libusb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ endif()
if(APPLE)
find_library(corefoundation_lib CoreFoundation)
find_library(iokit_lib IOKit)
target_include_directories(usb PRIVATE XCode)
TARGET_LINK_LIBRARIES(usb objc ${corefoundation_lib} ${iokit_lib})
endif()

Expand Down

0 comments on commit 0e1a354

Please sign in to comment.