Skip to content

Commit

Permalink
deduplicate dependency lists of exported code generation targets (#1123)
Browse files Browse the repository at this point in the history
* deduplicate dependency lists of exported code generation targets
  • Loading branch information
pseyfert authored Nov 12, 2020
1 parent 4b8feaf commit a9672d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/templates/pkgConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ foreach(depend ${depends})
_unpack_libraries_with_build_configuration(@PROJECT_NAME@_LIBRARIES ${@PROJECT_NAME@_LIBRARIES})

_list_append_unique(@PROJECT_NAME@_LIBRARY_DIRS ${${@PROJECT_NAME@_dep}_LIBRARY_DIRS})
list(APPEND @PROJECT_NAME@_EXPORTED_TARGETS ${${@PROJECT_NAME@_dep}_EXPORTED_TARGETS})
_list_append_deduplicate(@PROJECT_NAME@_EXPORTED_TARGETS ${${@PROJECT_NAME@_dep}_EXPORTED_TARGETS})
endforeach()

set(pkg_cfg_extras "@PKG_CFG_EXTRAS@")
Expand Down

0 comments on commit a9672d7

Please sign in to comment.