opencv : Add section comments
This commit is contained in:
parent
a9541997ae
commit
a09bebcaea
@ -102,6 +102,7 @@ def install(self, spec, prefix):
|
|||||||
'ON' if '+java' in spec else 'OFF')),
|
'ON' if '+java' in spec else 'OFF')),
|
||||||
])
|
])
|
||||||
|
|
||||||
|
# Media I/O
|
||||||
zlib = spec['zlib']
|
zlib = spec['zlib']
|
||||||
cmake_options.extend([
|
cmake_options.extend([
|
||||||
'-DZLIB_LIBRARY_{0}:FILEPATH={1}'.format((
|
'-DZLIB_LIBRARY_{0}:FILEPATH={1}'.format((
|
||||||
@ -146,6 +147,7 @@ def install(self, spec, prefix):
|
|||||||
'-DJASPER_INCLUDE_DIR:PATH={0}'.format(jasper.prefix.include)
|
'-DJASPER_INCLUDE_DIR:PATH={0}'.format(jasper.prefix.include)
|
||||||
])
|
])
|
||||||
|
|
||||||
|
# GUI
|
||||||
if '+gtk' not in spec:
|
if '+gtk' not in spec:
|
||||||
cmake_options.extend([
|
cmake_options.extend([
|
||||||
'-DWITH_GTK:BOOL=OFF',
|
'-DWITH_GTK:BOOL=OFF',
|
||||||
@ -162,6 +164,7 @@ def install(self, spec, prefix):
|
|||||||
'-DWITH_GTK_2_X:BOOL=ON'
|
'-DWITH_GTK_2_X:BOOL=ON'
|
||||||
])
|
])
|
||||||
|
|
||||||
|
# Python
|
||||||
if '+python' in spec:
|
if '+python' in spec:
|
||||||
python = spec['python']
|
python = spec['python']
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user