]> Creatis software - crea.git/commitdiff
#3473 TDx
authorEduardo DAVILA <davila@creatis.insa-lyon.fr>
Wed, 27 Oct 2021 15:30:05 +0000 (17:30 +0200)
committerEduardo DAVILA <davila@creatis.insa-lyon.fr>
Wed, 27 Oct 2021 15:30:05 +0000 (17:30 +0200)
cmake/CREAMacro_FindAndUseVTK.cmake

index 969efaeb01e24eb4205fb31dfb72b0bf51a8dd08..c60c8f43a9efd63a2e36d052299d79ba182d22ea 100644 (file)
@@ -212,11 +212,15 @@ ENDIF("${VTK_MAJOR_VERSION}" LESS 6)
 #          vtkGUISupportQtSQL         
 #          vtkViewsQt
 #          vtkNetCDF_cxx       
-               vtkRenderingTDx
                )
     message("EED vtk libraries: "${VTK_LIBRARIES})
        ENDIF(WIN32)
        
+
+  IF(VTK_USE_TDX)
+       SET(VTK_LIBRARIES ${VTK_LIBRARIES}  vtkRenderingTDx )
+  ENDIF(VTK_USE_TDX)
+
        
 # ENDIF("${VTK_MAJOR_VERSION}" GREATER 5)