Move cmake files around.

Update issue 62
Looks like I missed the -p0 argument to patch.  Can you please update and test?
Thanks!
This commit is contained in:
Romain Tartiere 2011-04-25 10:38:25 +00:00
parent 0abe2c9d66
commit 9e45b01802
3 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,21 @@
# $Id$
# TODO locate using pkg-config for linux/bsd
#set(LIBNFC_INCLUDE_DIRS "")
#set(LIBNFC_LIBRARIES "")
set(LIBNFC_INSTALL_DIR $ENV{PROGRAMFILES}/libnfc CACHE PATH "libnfc installation directory")
message("libnfc install dir: " ${LIBNFC_INSTALL_DIR})
find_path(LIBNFC_INCLUDE_DIRS NAMES nfc/nfc.h PATHS ${LIBNFC_INSTALL_DIR}/include)
message("libnfc include dir found: " ${LIBNFC_INCLUDE_DIRS})
find_library(LIBNFC_LIBRARIES libnfc PATHS ${LIBNFC_INSTALL_DIR}/lib)
message("libnfc library found: " ${LIBNFC_LIBRARIES})
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(LIBNFC DEFAULT_MSG
LIBNFC_INCLUDE_DIRS
LIBNFC_LIBRARIES
)
MARK_AS_ADVANCED(LIBNFC_INCLUDE_DIRS LIBNFC_LIBRARIES)