$NetBSD: patch-src_plugins_python_CMakeLists.txt,v 1.1 2019/12/10 13:04:06 nia Exp $

We do not ship pkg-config files for python.

--- src/plugins/python/CMakeLists.txt.orig	2019-12-08 08:48:53.000000000 +0000
+++ src/plugins/python/CMakeLists.txt
@@ -24,7 +24,7 @@ add_library(python MODULE
 set_target_properties(python PROPERTIES PREFIX "")
 
 if(PYTHON_FOUND)
-  target_link_libraries(python PkgConfig::PYTHON weechat_plugins_scripts coverage_config)
+  target_link_libraries(python ${PYTHON_LIBRARIES} weechat_plugins_scripts coverage_config)
 endif()
 
 install(TARGETS python LIBRARY DESTINATION ${WEECHAT_LIBDIR}/plugins)
