Skip to content

Commit

Permalink
Fix if statement in catkin_libraries (#1050)
Browse files Browse the repository at this point in the history
  • Loading branch information
poggenhans authored and dirk-thomas committed Jan 22, 2020
1 parent 4d44675 commit d95c66b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/catkin_libraries.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d95c66b

Please sign in to comment.