Fix linking with VTK 7
parent
5b2f5352eb
commit
a3c38dd617
|
@ -136,7 +136,7 @@ else()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
message(STATUS "Found package VTK. Using version " ${VTK_VERSION})
|
message(STATUS "Found package VTK. Using version " ${VTK_VERSION})
|
||||||
if("${VTK_MAJOR_VERSION}" EQUAL 6)
|
if("${VTK_MAJOR_VERSION}" GREATER 5)
|
||||||
set( vtk_LIBS ${VTK_LIBRARIES} )
|
set( vtk_LIBS ${VTK_LIBRARIES} )
|
||||||
else()
|
else()
|
||||||
set( vtk_LIBS
|
set( vtk_LIBS
|
||||||
|
|
Loading…
Reference in New Issue