OpenCV cross-compile issue

All,

I’m successfully cross-compiling from Debian Jessie to the BBB.
Now I’m trying to cross-compile openCV, so I can do some image processing on the BBB.

I’ve followed the cross-compilation instructions from opencv.org:

http://docs.opencv.org/doc/tutorials/introduction/crosscompilation/arm_crosscompile_with_cmake.html

However, it seems no matter what I do, opencv is always building for x86-64 instead of arm.
Any ideas would be greatly appreciated!

Adam