check if conan is found in the path before building
@@ -82,6 +82,7 @@ include, * -> ./include
def build(self):
""" Call conan command to build the package with the conanfile """
ui.info(" * Building library with conan in", self.package_path)
+ qisys.command.check_is_in_path("conan")
conan_path = qisys.command.find_program("conan")
cmd = [conan_path, "install", self.conanfile, "--build=missing", "--install-folder", self.package_path]
qisys.command.call(cmd)
