From 8d55b51990531f7b3e420ec8550660c9d8a4e2a4 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Fri, 13 Jan 2023 04:58:58 -0500 Subject: [PATCH] COMP: Remove obsolete integration of VTK_USE_FILE 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) --- UKFTractography.cmake | 3 --- 1 file changed, 3 deletions(-) diff --git a/UKFTractography.cmake b/UKFTractography.cmake index 026313b..ffbb8e4 100644 --- a/UKFTractography.cmake +++ b/UKFTractography.cmake @@ -30,9 +30,6 @@ find_package(VTK COMPONENTS IOXML REQUIRED ) -if(VTK_USE_FILE) - include(${VTK_USE_FILE}) -endif() #----------------------------------------------------------------------------- if(DEFINED Eigen_INCLUDE_DIR)