I am using OpenCV with libjpeg on one side and libjpeg-turbo on the other side. So, libjpeg-turbo is not part of the OpenCV but separate library. I linked agains both librar