Hi,
Here's a patch to add cmake config files, this way you can detect libnfc from
another cmake project by just writing:
find_package(LibNFC NO_MODULE REQUIRED)
include(${LIBNFC_USE_FILE})
add_executable(ex1 nfc-anticol.c)
target_link_libraries(ex1 ${LIBNFC_LIBRARIES})
and by passing -DLibNFC_DIR=<prefix>/lib/cmake/libnfc to cmake if not in a
system dir.
just add the .cmake and .cmake.in in the cmake folder.
Regards,
J.
Original issue reported on code.google.com by julien.s...@gmail.com on 21 Mar 2014 at 1:30
Original issue reported on code.google.com by
julien.s...@gmail.com
on 21 Mar 2014 at 1:30Attachments: