diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index 6768378f9e..1ca0258687 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -40,6 +40,7 @@ set(plugindir ${CMAKE_INSTALL_FULL_LIBDIR}/rpm-plugins) get_property(plugins DIRECTORY PROPERTY BUILDSYSTEM_TARGETS) foreach(plugin ${plugins}) + target_link_libraries(${plugin} PRIVATE librpmio librpm) install(TARGETS ${plugin} DESTINATION ${plugindir}) endforeach()