diff --git a/cmake/Modules/FindOpenNI2.cmake b/cmake/Modules/FindOpenNI2.cmake index 713099a14..f31de96a6 100644 --- a/cmake/Modules/FindOpenNI2.cmake +++ b/cmake/Modules/FindOpenNI2.cmake @@ -51,6 +51,7 @@ find_path(OPENNI2_INCLUDE_DIRS OpenNI.h PATHS "$ENV{OPENNI2_INCLUDE${OPENNI2_SUFFIX}}" # Win64 needs '64' suffix /usr/include/openni2 # common path for deb packages + PATH_SUFFIXES include/openni2 ) find_library(OPENNI2_LIBRARY