Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 275 by
julien.s...@gmail.com: Add cmake config files
http://code.google.com/p/libnfc/issues/detail?id=275
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.
Attachments:
libnfc-cmake_config.patch 1.3 KB
LibNFCConfig.cmake.in 1.6 KB
UseLibNFC.cmake 203 bytes
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings