summaryrefslogtreecommitdiffstats
path: root/Modules/FindVTK.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/FindVTK.cmake')
-rw-r--r--Modules/FindVTK.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindVTK.cmake b/Modules/FindVTK.cmake
index 519815f..e5f7d79 100644
--- a/Modules/FindVTK.cmake
+++ b/Modules/FindVTK.cmake
@@ -108,7 +108,7 @@ IF(VTK_DIR)
# We found VTK 4.0 (UseVTK.cmake exists, but not VTKConfig.cmake).
SET(VTK_FOUND 1)
# Load settings for VTK 4.0.
- INCLUDE(${CMAKE_ROOT}/Modules/UseVTKConfig40.cmake)
+ INCLUDE(UseVTKConfig40)
ELSE(EXISTS ${VTK_DIR}/UseVTK.cmake)
# We did not find VTK.
SET(VTK_FOUND 0)