Skip to content

Commit

Permalink
cmake_builder: use components as dep_types when installing
Browse files Browse the repository at this point in the history
Change-Id: I52304d233c846e27e2d634af7ffad86381254da4
(cherry picked from commit b1577c5c8907e7ff05edd03ee671758980307a9d)
  • Loading branch information
llec authored and houssemkouki committed Sep 4, 2017
1 parent 5765319 commit 0cae606
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/qibuild/cmake_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,9 @@ def build_parallel(self, *args, **kwargs):
def install(self, dest_dir, *args, **kwargs):
""" Install the projects and the packages to the dest_dir """
installed = list()
projects = self.deps_solver.get_dep_projects(self.projects, self.dep_types)
packages = self.deps_solver.get_dep_packages(self.projects, self.dep_types)
components = kwargs.get("components")
projects = self.deps_solver.get_dep_projects(self.projects, components)
packages = self.deps_solver.get_dep_packages(self.projects, components)
if "install_tc_packages" in kwargs:
install_tc_packages = kwargs["install_tc_packages"]
del kwargs["install_tc_packages"]
Expand All @@ -219,7 +220,6 @@ def install(self, dest_dir, *args, **kwargs):
prefix = kwargs.get("prefix", "/")
prefix = prefix[1:]
real_dest = os.path.join(dest_dir, prefix)
components = kwargs.get("components")

build_type = "Release"
if projects:
Expand Down

0 comments on commit 0cae606

Please sign in to comment.