-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
When defining a package in the *.autobuild file of a package set it is possible to define dependencies by using:
cmake_package "some/package" do |pkg|
pkg.depends_on "DEPENDENCY"
end
It is also possible to override os dependencies using source packages by adding the following to the overrides.rb of the package_set.
if (Autoproj.workspace.operating_system[1] & [''18.04', '18.10']).any?
Autoproj.add_osdeps_overrides 'DEPENDENCY', :package => 'external/DEPENDENCY', :force => true
end
My expectation would be that pkg.depends_on behaves as if the package would have DEPEDENCY set in the packages manifest by:
<depend package="DEPENDENCY" />
This includes that the override would apply for both, the dependencies in the manifest and the depends_on dependency.
It seem that this is not the case:
When using pkg.depends_on "DEPENDENCY" the override is not applied which leads to an installation of the os dependency anyways. But when listed in the same way via manifest.xml it works.
Metadata
Metadata
Assignees
Labels
No labels