I\'m trying to install openCV 2.4.2 (not the newest version but stable version compatible with newer OS X according to several sources) on Mac OS X 10.9 (Mavericks). I have
You could disable ts module in CMakeCache.txt file:
//Include opencv_ts module into the OpenCV build BUILD_opencv_ts:BOOL=OFF
I mean that there is no reason to modify existing code.