Skip to content

Commit

Permalink
yocto_recipe.py: change default build_type to ament_cmake when ros_ve…
Browse files Browse the repository at this point in the history
…rsion isn't 1

Signed-off-by: Martin Jansa <[email protected]>
  • Loading branch information
shr-project committed Feb 5, 2020
1 parent e050d9f commit e7b7c98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion superflore/generators/bitbake/yocto_recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ def __init__(
self.description = ''
self.license = None
self.homepage = None
self.build_type = 'catkin'
self.build_type = 'catkin' if \
yoctoRecipe._get_ros_version(distro) == 1 else 'ament_cmake'
self.maintainer = "OSRF"
self.depends = set()
self.depends_external = set()
Expand Down

0 comments on commit e7b7c98

Please sign in to comment.