From: Ole Streicher <olebole@debian.org>
Date: Tue, 27 Nov 2018 13:50:14 +0100
Subject: Remove dependency of examples from python shared libs

They are there if the packages are installed, and their names change
during package creation.
---
 examples/CMakeLists.txt        | 4 ----
 examples/python/CMakeLists.txt | 2 --
 2 files changed, 6 deletions(-)

diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 95ee8cd..501b2eb 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -991,8 +991,6 @@ if(BUILD_TEST)
 	WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/python
 	)
       add_dependencies(test_pyqt5_example
-	PLPLOT::plplot_pyqt5
-	PLPLOT::_plplotc
 	${qt_targets}
 	)
     endif(CORE_BUILD)
@@ -1132,8 +1130,6 @@ if(BUILD_TEST)
 	  VERBATIM
 	  )
 	add_dependencies(test_pytkdemo
-	  PLPLOT::_plplotc
-	  PLPLOT::_Pltk_init
 	  ${TARGET_tclIndex_tcl}
 	  ${xwin_targets}
 	  )
diff --git a/examples/python/CMakeLists.txt b/examples/python/CMakeLists.txt
index f1fdee0..0e6d274 100644
--- a/examples/python/CMakeLists.txt
+++ b/examples/python/CMakeLists.txt
@@ -279,8 +279,6 @@ if(BUILD_TEST)
     )
   if(CORE_BUILD)
     add_dependencies(plplot_logo python_examples PLPLOT::_plplotc)
-  else(CORE_BUILD)
-    add_dependencies(plplot_logo PLPLOT::_plplotc)
   endif(CORE_BUILD)
 
 endif(BUILD_TEST)
