Updated by Alexander Shishkov about 13 years ago

The current FindOpenNI.cmake [[FindOpenNI]].cmake is unable to find openni (either 32bit or 64bit) in a windows 64bit machine. It also doesn't accept the user provided entries.

In a 64 bit windows :
* OpenNI [[OpenNI]] 32 bit : is installed in c:/Program Files (x86)
* OpenNI [[OpenNI]] 64 bit : is installed in c:/Program Files, openni lib is Lib64/OpenNI64.lib , sensor module name contains also the "64" suffix.

Fix attached. I also added the default install folder of avin2 sensor module.

Back