use find_file and not just a set for USE_VTK_FILE

This commit is contained in:
Bill Hoffman 2001-10-26 14:35:53 -04:00
parent 7c27b5c755
commit f586f7df8d
1 changed files with 1 additions and 1 deletions

View File

@ -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)