summaryrefslogtreecommitdiffhomepage
path: root/proto-libevdev/CMakeLists.txt
blob: 412cca433b5fbb588b969376a9bb2bc3806a2075 (plain)
1
2
3
4
5
6
7
8
if(LINUX)
    pkg_check_modules(libevdev QUIET libevdev)
    if(libevdev_FOUND)
        otr_module(proto-libevdev)
        target_link_libraries(opentrack-proto-libevdev ${libevdev_LIBRARIES})
        target_include_directories(opentrack-proto-libevdev SYSTEM PUBLIC ${libevdev_INCLUDE_DIRS})
    endif()
endif()