Fix if statement in catkin_libraries
@@ -137,7 +137,7 @@ function(catkin_replace_imported_library_targets VAR)
get_target_property(${lib}_imported ${lib} IMPORTED)
if(${${lib}_type} STREQUAL "INTERFACE_LIBRARY")
get_target_property(${lib}_interface_link_libraries ${lib} INTERFACE_LINK_LIBRARIES)
- if(${${lib}_interface_link_libraries})
+ if(${lib}_interface_link_libraries)
catkin_replace_imported_library_targets(${lib}_resolved_libs ${${lib}_interface_link_libraries})
list(APPEND result ${${lib}_resolved_libs})
endif()
