opencv : Add jasper cmake support
This commit is contained in:
		| @@ -126,6 +126,15 @@ def install(self, spec, prefix): | |||||||
|             '-DTIFF_INCLUDE_DIR:PATH={0}'.format(libtiff.prefix.include) |             '-DTIFF_INCLUDE_DIR:PATH={0}'.format(libtiff.prefix.include) | ||||||
|         ]) |         ]) | ||||||
|  |  | ||||||
|  |         jasper = spec['jasper'] | ||||||
|  |         cmake_options.extend([ | ||||||
|  |             '-DJASPER_LIBRARY_{0}:FILEPATH={1}'.format(( | ||||||
|  |                 'DEBUG' if '+debug' in spec else 'RELEASE'), | ||||||
|  |                 join_path(jasper.prefix.lib, | ||||||
|  |                           'libjasper.{0}'.format(dso_suffix))), | ||||||
|  |             '-DJASPER_INCLUDE_DIR:PATH={0}'.format(jasper.prefix.include) | ||||||
|  |         ]) | ||||||
|  |  | ||||||
|         if '+gtk' not in spec: |         if '+gtk' not in spec: | ||||||
|             cmake_options.extend([ |             cmake_options.extend([ | ||||||
|                 '-DWITH_GTK:BOOL=OFF', |                 '-DWITH_GTK:BOOL=OFF', | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 mwilliammyers
					mwilliammyers