opencv : Add libjpeg-turbo cmake support
This commit is contained in:
parent
97143768c8
commit
fc79b104f0
@ -99,6 +99,13 @@ def install(self, spec, prefix):
|
|||||||
'ON' if '+java' in spec else 'OFF')),
|
'ON' if '+java' in spec else 'OFF')),
|
||||||
])
|
])
|
||||||
|
|
||||||
|
libjpeg = spec['libjpeg-turbo']
|
||||||
|
cmake_options.extend([
|
||||||
|
'-DJPEG_LIBRARY:FILEPATH={0}'.format(
|
||||||
|
join_path(libjpeg.prefix.lib, 'libjpeg.so'),
|
||||||
|
'-DJPEG_INCLUDE_DIR:PATH={0}'.format(libjpeg.prefix.include)
|
||||||
|
])
|
||||||
|
|
||||||
libtiff = spec['libtiff']
|
libtiff = spec['libtiff']
|
||||||
cmake_options.extend([
|
cmake_options.extend([
|
||||||
'-DTIFF_LIBRARY_{0}:FILEPATH={1}'.format((
|
'-DTIFF_LIBRARY_{0}:FILEPATH={1}'.format((
|
||||||
|
Loading…
Reference in New Issue
Block a user