]> 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 862148a..e9f8f1e 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)