Skip to content

Commit 98e971d

Browse files
authored
fix checking boolean variable which might contain a string (#165)
1 parent 7cbf59f commit 98e971d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rmw/cmake/get_rmw_typesupport.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function(get_rmw_typesupport var rmw_implementation)
3737
set(resource_type "${resource_type}_${ARG_LANGUAGE}")
3838
endif()
3939
ament_index_has_resource(has_resource "${resource_type}" "${rmw_implementation}")
40-
if(${has_resource})
40+
if(has_resource)
4141
ament_index_get_resource(resource "${resource_type}" "${rmw_implementation}")
4242
else()
4343
set(resource "")

0 commit comments

Comments
 (0)