Commit 19442083 authored by Chris Cantwell's avatar Chris Cantwell

Replaced deprecated FindVTK for CMake 3.1.0 and later.

parent b899ba07
......@@ -33,7 +33,7 @@ IF( NEKTAR_USE_VTK )
SET(VTK_USE_FILE ${VTK_DIR}/UseVTK.cmake)
INCLUDE (${VTK_DIR}/VTKConfig.cmake)
ELSE()
INCLUDE (FindVTK)
FIND_PACKAGE(VTK)
IF (VTK_FOUND)
MESSAGE(STATUS "Found VTK: ${VTK_USE_FILE}")
ELSE (VTK_FOUND)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment