diff options
Diffstat (limited to 'Modules/FindVTK.cmake')
-rw-r--r-- | Modules/FindVTK.cmake | 2 |
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) |