From ca0dc38d632481d5c1588de60cb5e51206e50b15 Mon Sep 17 00:00:00 2001
From: Leonardo Florez-Valencia <florez-l@javeriana.edu.co>
Date: Mon, 7 Sep 2015 19:00:15 +0200
Subject: [PATCH] ...

---
 appli/examples/CMakeLists.txt           |  2 +-
 lib/cpPlugins/Extensions/CMakeLists.txt | 24 +++++++++++++-----------
 2 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/appli/examples/CMakeLists.txt b/appli/examples/CMakeLists.txt
index 1da1a2e..d2165fe 100644
--- a/appli/examples/CMakeLists.txt
+++ b/appli/examples/CMakeLists.txt
@@ -39,7 +39,7 @@ SET(
   example_3DImageGradient
   example_2DGulsunTekMedialness
   example_3DGulsunTekMedialness
-  example_KalmanVelocity
+  ## example_KalmanVelocity
   )
 FOREACH(prog ${NOPLUGINS_EXAMPLES_PROGRAMS}) 
   ADD_EXECUTABLE(
diff --git a/lib/cpPlugins/Extensions/CMakeLists.txt b/lib/cpPlugins/Extensions/CMakeLists.txt
index c669f39..4350712 100644
--- a/lib/cpPlugins/Extensions/CMakeLists.txt
+++ b/lib/cpPlugins/Extensions/CMakeLists.txt
@@ -71,17 +71,19 @@ GENERATE_EXPORT_HEADER(
   )
 TARGET_LINK_LIBRARIES(
   ${LIBRARY_NAME}
-  vtkCommonCore
-  vtkRenderingCore
-  vtkRenderingOpenGL
-  vtkRenderingAnnotation
-  vtkRenderingVolumeOpenGL
-  vtkRenderingFreeTypeOpenGL
-  vtkInteractionStyle
-  vtkInteractionWidgets
-  vtkIOMPIImage
-  ITKCommon
-  ITKVTK
+  ${ITK_LIBRARIES}
+  ${VTK_LIBRARIES}
+  #vtkCommonCore
+  #vtkRenderingCore
+  #vtkRenderingOpenGL
+  #vtkRenderingAnnotation
+  #vtkRenderingVolumeOpenGL
+  #vtkRenderingFreeTypeOpenGL
+  #vtkInteractionStyle
+  #vtkInteractionWidgets
+  #vtkIOMPIImage
+  #ITKCommon
+  #ITKVTK
   )
 
 ## eof - $RCSfile$
-- 
2.49.0