Fixed CMakeList to work with OpenCV 3.
Fixed CMakeList to work with OpenCV 3.

wangg12/caffe,CZCV/s-dilation-caffe,CZCV/s-dilation-caffe,CZCV/s-dilation-caffe,gogartom/caffe-textmaps,wangg12/caffe,gnina/gnina,gogartom/caffe-textmaps,longjon/caffe,CZCV/s-dilation-caffe,wangg12/caffe,tackgeun/caffe,tackgeun/caffe,gnina/gnina,wangg12/caffe,longjon/caffe,tackgeun/caffe,gnina/gnina,gogartom/caffe-textmaps,longjon/caffe,longjon/caffe,tackgeun/caffe,gnina/gnina,gnina/gnina,gogartom/caffe-textmaps,gnina/gnina