From f586f7df8d9ab5a432107e053452864598c6c0a7 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 26 Oct 2001 14:35:53 -0400 Subject: use find_file and not just a set for USE_VTK_FILE --- Modules/FindVTK.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12