Implement opencv libs property (#6457)

This commit is contained in:
Michael F. Herbst 2017-11-26 05:00:18 +01:00 committed by Christoph Junghans
parent 9b5e3434ad
commit 178381edf9

View File

@ -229,3 +229,10 @@ def cmake_args(self):
])
return args
@property
def libs(self):
shared = "+shared" in self.spec
return find_libraries(
"libopencv_*", root=self.prefix, shared=shared, recurse=True
)