X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=vtk%2FCMakeLists.txt;h=6b2fa6b57ac78452de006db2d321a1f07a1f9a91;hb=f5028f34faa657dc1722331963f97c7734ee2d2a;hp=a149cd245e4452a195dd8cdf3ebca44ebcda798c;hpb=a2fd1ec6997c33fb40dd3295e3c7f630d26af37a;p=gdcm.git diff --git a/vtk/CMakeLists.txt b/vtk/CMakeLists.txt index a149cd24..6b2fa6b5 100644 --- a/vtk/CMakeLists.txt +++ b/vtk/CMakeLists.txt @@ -5,6 +5,7 @@ # Need gdcm header files INCLUDE_DIRECTORIES( ${GDCM_SOURCE_DIR}/src/ + ${GDCM_BINARY_DIR}/ ) SET(VTKGDCM_LIB_SRCS @@ -22,10 +23,8 @@ TARGET_LINK_LIBRARIES(vtkgdcm ) #----------------------------------------------------------------------------- -# See with frog why m4 didn't link to lib, and include cxx file instead ? SET(vtkgdcmdemo_SOURCES - testvtkGdcmReader.cxx -# vtkGdcmReader.cxx + vtkGdcmDemo.cxx ) ADD_EXECUTABLE(vtkgdcmdemo ${vtkgdcmdemo_SOURCES}) TARGET_LINK_LIBRARIES(vtkgdcmdemo @@ -35,10 +34,8 @@ TARGET_LINK_LIBRARIES(vtkgdcmdemo ) #----------------------------------------------------------------------------- -# See with frog why m4 didn't link to lib, and include cxx file instead ? SET(vtkgdcmViewer_SOURCES vtkgdcmViewer.cxx - #vtkGdcmReader.cxx ) ADD_EXECUTABLE(vtkgdcmViewer ${vtkgdcmViewer_SOURCES}) TARGET_LINK_LIBRARIES(vtkgdcmViewer