Commit 17a33f34 authored by Jan Möbius's avatar Jan Möbius
Browse files

OpenNI2 and Nite2 finders



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17863 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 46d1c648
if (NITE2_INCLUDE_DIR)
# in cache already
set(NITE2_FOUND TRUE)
else (NITE2_INCLUDE_DIR)
find_path(NITE2_INCLUDE_DIR NAMES NiTE.h
PATHS /usr/local/OpenNI-Linux-x64-2.2/NiTE-Linux-x64-2.2/Include
# $ENV{NITE2_INCLUDE}
)
find_library( NITE2_LIBRARY
NiTE2
PATHS /usr/local/OpenNI-Linux-x64-2.2/NiTE-Linux-x64-2.2/Redist "C:/Program Files/OpenNI/Lib" $ENV{NITE2_REDIST64} )
if (NITE2_INCLUDE_DIR)
# in cache already
set(NITE2_FOUND TRUE)
endif(NITE2_INCLUDE_DIR)
endif(NITE2_INCLUDE_DIR)
if (OPENNI2_INCLUDE_DIR)
# in cache already
set(OPENNI2_FOUND TRUE)
else (OPENNI2_INCLUDE_DIR)
find_path(OPENNI2_INCLUDE_DIR NAMES OpenNI.h
PATHS /usr/local/OpenNI-Linux-x64-2.2/Include
$ENV{OPENNI2_INCLUDE}
)
find_library( OPENNI2_LIBRARY
OpenNI2
PATHS /usr/local/OpenNI-Linux-x64-2.2/Redist "C:/Program Files/OpenNI/Lib" $ENV{OPENNI2_REDIST} )
if (OPENNI2_INCLUDE_DIR)
# in cache already
set(OPENNI2_FOUND TRUE)
endif(OPENNI2_INCLUDE_DIR)
endif(OPENNI2_INCLUDE_DIR)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment