1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 02:32:36 +01:00

Fix macOS hidapi CMakeLists

This commit is contained in:
nastys 2022-01-03 16:33:33 +01:00 committed by Megamouse
parent 350257e1a4
commit 81c2fb508b

View File

@ -10,7 +10,7 @@ add_library(3rdparty_hidapi INTERFACE)
add_subdirectory(hidapi EXCLUDE_FROM_ALL) add_subdirectory(hidapi EXCLUDE_FROM_ALL)
if(APPLE) if(APPLE)
target_link_libraries(3rdparty_hidapi INTERFACE hidapi-mac "-framework CoreFoundation" "-framework IOKit") target_link_libraries(3rdparty_hidapi INTERFACE hidapi_darwin "-framework CoreFoundation" "-framework IOKit")
elseif(CMAKE_SYSTEM MATCHES "Linux") elseif(CMAKE_SYSTEM MATCHES "Linux")
target_link_libraries(3rdparty_hidapi INTERFACE hidapi-hidraw udev) target_link_libraries(3rdparty_hidapi INTERFACE hidapi-hidraw udev)
elseif(WIN32) elseif(WIN32)