X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vtk%2FCMakeLists.txt;h=6cb8cd04031f70f2806349138c260e9c5110a9c7;hb=a45b09d6e37f0d0c31f62f8ef01b78d3204de51e;hp=9a6f916393e05b1c5eabdbe4090ab200d3a7d112;hpb=7350639601914cd8ab02bfb0d6668c5bf56ce2f4;p=gdcm.git diff --git a/vtk/CMakeLists.txt b/vtk/CMakeLists.txt index 9a6f9163..6cb8cd04 100644 --- a/vtk/CMakeLists.txt +++ b/vtk/CMakeLists.txt @@ -46,6 +46,11 @@ TARGET_LINK_LIBRARIES(vtkgdcmViewer vtkgdcm vtkRendering ) +ADD_EXECUTABLE(vtkgdcmViewer2 vtkgdcmViewer2.cxx) +TARGET_LINK_LIBRARIES(vtkgdcmViewer2 + vtkgdcm + vtkRendering +) #----------------------------------------------------------------------------- SET(vtkWriteDicom_SOURCES @@ -58,18 +63,6 @@ TARGET_LINK_LIBRARIES(vtkWriteDicom vtkRendering ) -#----------------------------------------------------------------------------- -SET(GdcmToBaseline_SOURCES - GdcmToBaseline.cxx -) -ADD_EXECUTABLE(GdcmToBaseline ${GdcmToBaseline_SOURCES}) -TARGET_LINK_LIBRARIES(GdcmToBaseline - vtkgdcm - vtkIO - vtkImaging - vtkRendering -) - #----------------------------------------------------------------------------- # Install vtk header INSTALL_FILES(/include FILES vtkGdcmReader.h)