summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-10-26 18:35:53 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-10-26 18:35:53 (GMT)
commitf586f7df8d9ab5a432107e053452864598c6c0a7 (patch)
treecb628f6d950cfff15cc936295e08224f6e6e4529 /Modules
parent7c27b5c755ffc10819aba9aac3c74484b79ed38d (diff)
downloadCMake-f586f7df8d9ab5a432107e053452864598c6c0a7.zip
CMake-f586f7df8d9ab5a432107e053452864598c6c0a7.tar.gz
CMake-f586f7df8d9ab5a432107e053452864598c6c0a7.tar.bz2
use find_file and not just a set for USE_VTK_FILE
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindVTK.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindVTK.cmake b/Modules/FindVTK.cmake
index 01da2ac..930e203 100644
--- a/Modules/FindVTK.cmake
+++ b/Modules/FindVTK.cmake
@@ -67,7 +67,7 @@ IF (USE_INSTALLED_VTK)
ENDIF (VTK_INSTALL_PATH)
ELSE (USE_INSTALLED_VTK)
IF (VTK_BINARY_PATH)
- SET (USE_VTK_FILE ${VTK_BINARY_PATH}/UseVTK.cmake)
+ FIND_FILE(USE_VTK_FILE UseVTK.cmake ${VTK_BINARY_PATH})
ENDIF (VTK_BINARY_PATH)
ENDIF (USE_INSTALLED_VTK)