Fix PkgConfig for ncursesw and add libevdev.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
parent
6985ef40e2
commit
1b70ca4979
1 changed files with 5 additions and 4 deletions
|
@ -11,21 +11,22 @@ add_executable(applen
|
|||
configuration.cpp
|
||||
)
|
||||
|
||||
pkg_search_module(NCURSES REQUIRED ncursesw)
|
||||
pkg_search_module(NCURSESW REQUIRED ncursesw)
|
||||
pkg_search_module(LIBEVDEV REQUIRED libevdev)
|
||||
|
||||
target_include_directories(applen PRIVATE
|
||||
/usr/include/libevdev-1.0
|
||||
${NCURSESW_INCLUDE_DIRS}
|
||||
${LIBEVDEV_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
target_link_libraries(applen
|
||||
boost_program_options
|
||||
appleii
|
||||
ncursesw
|
||||
evdev
|
||||
${NCURSESW_LIBRARIES}
|
||||
${LIBEVDEV_LIBRARIES}
|
||||
)
|
||||
|
||||
target_compile_options(applen PRIVATE
|
||||
${NCURSESW_CFLAGS_OTHER}
|
||||
${LIBEVDEV_CFLAGS_OTHER}
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue