]> Creatis software - clitk.git/commitdiff
Fixed bug with CMakeLists and VTK
authorBenoît Presles <benoit.presles@creatis.insa-lyon.fr>
Thu, 16 May 2013 09:47:41 +0000 (11:47 +0200)
committerBenoît Presles <benoit.presles@creatis.insa-lyon.fr>
Thu, 16 May 2013 09:47:41 +0000 (11:47 +0200)
tools/CMakeLists.txt

index 862148a10ee91817ef96abeae275f205147beb49..e9f8f1e28a77d200f8bf9c5c4fc93371ae70208c 100644 (file)
@@ -220,7 +220,7 @@ IF (CLITK_BUILD_TOOLS)
 
   WRAP_GGO(clitkTransformLandmarks_GGO_C clitkTransformLandmarks.ggo)
   ADD_EXECUTABLE(clitkTransformLandmarks clitkTransformLandmarks.cxx ${clitkTransformLandmarks_GGO_C})
-  TARGET_LINK_LIBRARIES(clitkTransformLandmarks clitkCommon ${ITK_LIBRARIES})
+  TARGET_LINK_LIBRARIES(clitkTransformLandmarks clitkCommon ${ITK_LIBRARIES} ${VTK_LIBRARIES})
   SET(TOOLS_INSTALL ${TOOLS_INSTALL} clitkTransformLandmarks)
 
   WRAP_GGO(clitkMaskLandmarks_GGO_C clitkMaskLandmarks.ggo)