Skip to content

Commit

Permalink
COMP: Remove obsolete integration of VTK_USE_FILE
Browse files Browse the repository at this point in the history
This commit fixes the following warning:

  CMake Deprecation Warning at /path/to/Slicer-Release/VTK-build/lib/cmake/vtk-9.1/vtk-use-file-deprecated.cmake:1 (message):
    The `VTK_USE_FILE` is no longer used starting with 8.90.
  Call Stack (most recent call first):
    UKFTractography.cmake:34 (include)
    CMakeLists.txt:97 (include)
  • Loading branch information
jcfr committed Jan 13, 2023
1 parent 1990f30 commit 8d55b51
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions UKFTractography.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ find_package(VTK COMPONENTS
IOXML
REQUIRED
)
if(VTK_USE_FILE)
include(${VTK_USE_FILE})
endif()

#-----------------------------------------------------------------------------
if(DEFINED Eigen_INCLUDE_DIR)
Expand Down

0 comments on commit 8d55b51

Please sign in to comment.