Skip to content

Commit

Permalink
Fix linking with VTK 7
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmitry committed Mar 21, 2016
1 parent 5b2f535 commit a3c38dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ else()
endif()

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} )
else()
set( vtk_LIBS
Expand Down

0 comments on commit a3c38dd

Please # to comment.