From 6e4562bb56c93c6716c5daaf1927aaf2fa1407ca Mon Sep 17 00:00:00 2001 From: "Fco. Javier Delgado del Hoyo" Date: Tue, 29 Jul 2014 11:10:58 +0200 Subject: [PATCH] Fixed typo in OpenNI2 cmake file --- cmake/OpenCVFindOpenNI2.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/OpenCVFindOpenNI2.cmake b/cmake/OpenCVFindOpenNI2.cmake index 8a5f47c..426f55b 100644 --- a/cmake/OpenCVFindOpenNI2.cmake +++ b/cmake/OpenCVFindOpenNI2.cmake @@ -21,8 +21,8 @@ if(WIN32) find_library(OPENNI2_LIBRARY "OpenNI2" PATHS $ENV{OPENNI2_LIB64} DOC "OpenNI2 library") endif() elseif(UNIX OR APPLE) - find_file(OPENNI_INCLUDES "OpenNI.h" PATHS "/usr/include/ni2" "/usr/include/openni2" DOC "OpenNI2 c++ interface header") - find_library(OPENNI_LIBRARY "OpenNI2" PATHS "/usr/lib" DOC "OpenNI2 library") + find_file(OPENNI2_INCLUDES "OpenNI.h" PATHS "/usr/include/ni2" "/usr/include/openni2" DOC "OpenNI2 c++ interface header") + find_library(OPENNI2_LIBRARY "OpenNI2" PATHS "/usr/lib" DOC "OpenNI2 library") endif() if(OPENNI2_LIBRARY AND OPENNI2_INCLUDES) -- 2.7.4