Commit 81e57ba5 authored by Malte Heithoff's avatar Malte Heithoff
Browse files

OpenCV Find Package

parent b896d11a
Pipeline #354987 passed with stage
in 11 minutes and 11 seconds
......@@ -67,11 +67,7 @@ public class BoundingRectCommand extends MathCommand{
bluePrintCPP.addCVIncludeString("opencv2/imgproc/imgproc");
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("OpenCV", true));
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("blas", true));
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("openblas", true));
.addFindPackage("OpenCV");
}
}
......@@ -69,11 +69,7 @@ public class CvtColorCommand extends ArgumentNoReturnMathCommand{
redefineInit(bluePrintCPP);
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("OpenCV", true));
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("blas", true));
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("openblas", true));
.addFindPackage("OpenCV");
}
......
......@@ -69,11 +69,7 @@ public class DilateCommand extends ArgumentNoReturnMathCommand{
redefineInit(bluePrintCPP);
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("OpenCV", true));
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("blas", true));
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("openblas", true));
.addFindPackage("OpenCV");
}
private Method getDilateHelperMethod(MathMatrixNameExpressionSymbol mathMatrixNameExpressionSymbol, EMAMBluePrintCPP bluePrintCPP, MathExpressionProperties properties){
......
......@@ -71,11 +71,7 @@ public class ErodeCommand extends ArgumentNoReturnMathCommand{
redefineInit(bluePrintCPP);
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("OpenCV", true));
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("blas", true));
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("openblas", true));
.addFindPackage("OpenCV");
}
......
......@@ -70,11 +70,7 @@ public class FindContoursCommand extends ArgumentNoReturnMathCommand{
redefineInit(bluePrintCPP);
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("OpenCV", true));
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("blas", true));
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("openblas", true));
.addFindPackage("OpenCV");
}
......
......@@ -69,11 +69,7 @@ public class GaussianBlurCommand extends ArgumentNoReturnMathCommand{
redefineInit(bluePrintCPP);
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("OpenCV", true));
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("blas", true));
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("openblas", true));
.addFindPackage("OpenCV");
}
private Method getGaussianBlurHelperMethod(MathMatrixNameExpressionSymbol mathMatrixNameExpressionSymbol, EMAMBluePrintCPP bluePrintCPP, MathExpressionProperties properties){
......
......@@ -69,11 +69,7 @@ public class InRangeCommand extends ArgumentNoReturnMathCommand{
redefineInit(bluePrintCPP);
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("OpenCV", true));
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("blas", true));
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("openblas", true));
.addFindPackage("OpenCV");
}
......
......@@ -68,11 +68,7 @@ public class LargestContourCommand extends MathCommand {
redefineInit(bluePrintCPP);
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("OpenCV", true));
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("blas", true));
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("openblas", true));
.addFindPackage("OpenCV");
}
......
......@@ -73,11 +73,7 @@ public class RectangleCommand extends MathCommand{
redefineInit(bluePrintCPP);
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("OpenCV", true));
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("blas", true));
bluePrintCPP.getGenerator().getCmakeConfig()
.addModuleDependency(new CMakeFindModule("openblas", true));
.addFindPackage("OpenCV");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment