FindNITE.cmake 473 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
if (NITE_INCLUDE_DIR)
  # in cache already
  set(NITE_FOUND TRUE)
else (NITE_INCLUDE_DIR)


find_path(NITE_INCLUDE_DIR NAMES XnVNite.h
	  PATHS /usr/include "C:/Program Files/Prime Sense/NITE/Include"
	  ${NITE_INCLUDE_PATH}
      s)

find_library( NITE_LIBRARY 
              XnVNITE
              PATHS /usr/lib "C:/Program Files/Prime Sense/NITE/Lib" )

if (NITE_INCLUDE_DIR)
  # in cache already
  set(NITE_FOUND TRUE)
endif(NITE_INCLUDE_DIR)

endif(NITE_INCLUDE_DIR)