fix find version for libjpeg-turbo

Review Request #121221 - Created Nov. 23, 2014 and discarded

Information
zezadas Moreira
gwenview
master
Reviewers
gwenview

Clear CMAKE_MATCH_1 var, to compile with libjpeg-turbo

When the regexp for jpeglib.h is not found (libjpeg-turbo case), the CMAKE_MATCH_0 and CMAKE_MATCH_1 var still with old value, and the old value, in this case was 2060 (lcms version).
reseting the var before trying to find the version fix this bug.

zezadas Moreira
Lukáš Tinkl
zezadas Moreira
Review request changed

Status: Discarded

Change Summary:

Closing because the current master contains mpyne's patch which makes this work better, by letting the compiler parse these headers.

Loading...