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

Added OpenNi finder

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10930 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 637ca585
if (OPENNI_INCLUDE_DIR)
# in cache already
set(OPENNI_FOUND TRUE)
message(status "check1")
else (OPENNI_INCLUDE_DIR)
message(status "check")
find_path(OPENNI_INCLUDE_DIR NAMES XnOpenNI.h
PATHS /usr/include/ni
${OPENNI_INCLUDE_PATH}
)
find_library( OPENNI_LIBRARY
OpenNI
PATHS /usr/lib)
if (OPENNI_INCLUDE_DIR)
# in cache already
set(OPENNI_FOUND TRUE)
endif(OPENNI_INCLUDE_DIR)
endif(OPENNI_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