* Use libs[0] and headers.directories[0] instead of hardcoded paths in opencv dependencies * Fix library finding in libjpeg-turbo * Use build_type=Debug instead of +debug to determine build_type
This commit is contained in:
@@ -49,6 +49,10 @@ class LibjpegTurbo(Package):
|
||||
depends_on("nasm", type='build')
|
||||
depends_on('cmake', type='build', when="@1.5.90:")
|
||||
|
||||
@property
|
||||
def libs(self):
|
||||
return find_libraries("libjpeg*", root=self.prefix, recursive=True)
|
||||
|
||||
@when('@:1.5.3')
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix=%s' % prefix)
|
||||
|
Reference in New Issue
Block a user