Skip to content

Commit

Permalink
Merge pull request #7 from ReenigneArcher/patch-1
Browse files Browse the repository at this point in the history
fix(cmake): fix LIBEVDEV_CUSTOM_LIBRARY variable name
  • Loading branch information
ABeltramo authored Jun 15, 2024
2 parents 68f51dd + 3377502 commit 2739465
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ option(LIBINPUTTINO_INSTALL "Generate the install target" OFF)
if (UNIX AND NOT APPLE)
option(LIBEVDEV_CUSTOM_INCLUDE_DIR "Location to a custom libevdev source" OFF)
option(LIBEVDEV_CUSTOM_LIBRARY "Location to a custom libevdev library" OFF)
if (LIBEVDEV_CUSTOM_INCLUDE_DIR AND LIBEVDEV_CUSTOM_LIBRARY_DIR)
if (LIBEVDEV_CUSTOM_INCLUDE_DIR AND LIBEVDEV_CUSTOM_LIBRARY)
target_include_directories(libinputtino PUBLIC "${LIBEVDEV_CUSTOM_INCLUDE_DIR}")
target_link_libraries(libinputtino PUBLIC "${LIBEVDEV_CUSTOM_LIBRARY_DIR}")
target_link_libraries(libinputtino PUBLIC "${LIBEVDEV_CUSTOM_LIBRARY}")
else ()
find_package(PkgConfig)
pkg_check_modules(LIBEVDEV REQUIRED IMPORTED_TARGET libevdev)
Expand Down

0 comments on commit 2739465

Please sign in to comment.