remove trailing spaces from comparisons, obsolete quotes and explicit variable expansion

This commit is contained in:
Dirk Thomas 2016-06-16 09:19:37 -07:00
parent 7a5285a3d0
commit aeb3c55894
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ set(${PROJECT_NAME}_SRCS
)
macro(target)
if(NOT "${target_suffix} " STREQUAL " ")
if(NOT target_suffix STREQUAL "")
get_rcl_information("${rmw_implementation}" "rcl${target_suffix}")
endif()
add_library(${PROJECT_NAME}${target_suffix} SHARED

View file

@ -29,7 +29,7 @@ macro(get_rclcpp_information rmw_implementation var_prefix)
set(${var_prefix}_FOUND TRUE)
# Get rcl using the existing macro
if(NOT "${target_suffix} " STREQUAL " ")
if(NOT target_suffix STREQUAL "")
get_rcl_information("${rmw_implementation}" "rcl${target_suffix}")
endif()