← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3489: Use only vtkCommonCore vtkIOImage vtkIOXML components for VTK.

 

------------------------------------------------------------
revno: 3489
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
timestamp: Sat 2014-10-18 09:12:29 +0200
message:
  Use only vtkCommonCore vtkIOImage vtkIOXML components for VTK.
modified:
  CMakeLists.txt


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt	2014-10-15 06:44:01 +0000
+++ CMakeLists.txt	2014-10-18 07:12:29 +0000
@@ -174,7 +174,7 @@
      ((Boost_MINOR_VERSION EQUAL 53) OR (Boost_MINOR_VERSION GREATER 53)))
 #===========================================================
 IF(ENABLE_VTK)
-  FIND_PACKAGE(VTK) 
+  FIND_PACKAGE(VTK COMPONENTS vtkCommonCore vtkIOImage vtkIOXML)
   IF(VTK_FOUND)
     INCLUDE_DIRECTORIES(${VTK_INCLUDE_DIRS})
     LINK_DIRECTORIES( ${VTK_LIBRARY_DIRS} )