Fix string append in OpenCV package (#35008)
* Fix string append in OpenCV package * style
This commit is contained in:
parent
a1b0213fcb
commit
c6b98cea07
1 changed files with 5 additions and 3 deletions
|
@ -929,9 +929,11 @@ def cmake_args(self):
|
||||||
]
|
]
|
||||||
|
|
||||||
if self.spec.satisfies("+contrib"):
|
if self.spec.satisfies("+contrib"):
|
||||||
args += self.define(
|
args.append(
|
||||||
"OPENCV_EXTRA_MODULES_PATH",
|
self.define(
|
||||||
join_path(self.stage.source_path, "opencv_contrib", "modules"),
|
"OPENCV_EXTRA_MODULES_PATH",
|
||||||
|
join_path(self.stage.source_path, "opencv_contrib", "modules"),
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
# OpenCV pre-built apps
|
# OpenCV pre-built apps
|
||||||
|
|
Loading…
Reference in a new issue