remove trailing spaces from comparisons, obsolete quotes and explicit variable expansion
This commit is contained in:
parent
7a5285a3d0
commit
aeb3c55894
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ set(${PROJECT_NAME}_SRCS
|
||||||
)
|
)
|
||||||
|
|
||||||
macro(target)
|
macro(target)
|
||||||
if(NOT "${target_suffix} " STREQUAL " ")
|
if(NOT target_suffix STREQUAL "")
|
||||||
get_rcl_information("${rmw_implementation}" "rcl${target_suffix}")
|
get_rcl_information("${rmw_implementation}" "rcl${target_suffix}")
|
||||||
endif()
|
endif()
|
||||||
add_library(${PROJECT_NAME}${target_suffix} SHARED
|
add_library(${PROJECT_NAME}${target_suffix} SHARED
|
||||||
|
|
|
@ -29,7 +29,7 @@ macro(get_rclcpp_information rmw_implementation var_prefix)
|
||||||
set(${var_prefix}_FOUND TRUE)
|
set(${var_prefix}_FOUND TRUE)
|
||||||
|
|
||||||
# Get rcl using the existing macro
|
# Get rcl using the existing macro
|
||||||
if(NOT "${target_suffix} " STREQUAL " ")
|
if(NOT target_suffix STREQUAL "")
|
||||||
get_rcl_information("${rmw_implementation}" "rcl${target_suffix}")
|
get_rcl_information("${rmw_implementation}" "rcl${target_suffix}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue