Skip to content

Commit

Permalink
Merge pull request #10705 from Zopolis4/cmake
Browse files Browse the repository at this point in the history
Fixes for cmake shared library detection.
  • Loading branch information
JMC47 committed Sep 23, 2022
2 parents b0ac5ac + b317549 commit 08f78b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Externals/hidapi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if(APPLE)
elseif(MSVC)
target_sources(hidapi PRIVATE windows/hid.c)
else()
find_package(Libudev)
find_package(LIBUDEV)
if(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND LIBUDEV_FOUND)
target_sources(hidapi PRIVATE linux/hid.c)
target_link_libraries(hidapi PRIVATE udev)
Expand Down

0 comments on commit 08f78b1

Please sign in to comment.