diff --git a/Modules/FindVTK.cmake b/Modules/FindVTK.cmake index 01da2acda..930e203fb 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)