Skip to content

Commit

Permalink
fix checking boolean variable which might contain a string (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas authored and nuclearsandwich committed Feb 8, 2019
1 parent 132f306 commit ca57a8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rmw/cmake/get_rmw_typesupport.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function(get_rmw_typesupport var rmw_implementation)
set(resource_type "${resource_type}_${ARG_LANGUAGE}")
endif()
ament_index_has_resource(has_resource "${resource_type}" "${rmw_implementation}")
if(${has_resource})
if(has_resource)
ament_index_get_resource(resource "${resource_type}" "${rmw_implementation}")
else()
set(resource "")
Expand Down

1 comment on commit ca57a8b

@dirk-thomas
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nuclearsandwich What is the status of this branch? If it can be deleted please go ahead and do so. If it should stay around please consider opening a PR for visibility.

Please sign in to comment.