Skip to content

Commit

Permalink
Merge pull request #2885 from arunabhcode/master
Browse files Browse the repository at this point in the history
fix latest vtk cmake error
  • Loading branch information
SergioRAgostinho authored Mar 5, 2019
2 parents 485033d + d74af30 commit 356ea4f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,9 @@ if(WITH_VTK AND NOT ANDROID)
if(PCL_SHARED_LIBS OR (NOT (PCL_SHARED_LIBS) AND NOT (VTK_BUILD_SHARED_LIBS)))
set(VTK_FOUND TRUE)
find_package(QVTK)
include(${VTK_USE_FILE})
if(VTK_USE_FILE)
include(${VTK_USE_FILE})
endif()
message(STATUS "VTK found (include: ${VTK_INCLUDE_DIRS}, lib: ${VTK_LIBRARIES}")
if(APPLE)
option(VTK_USE_COCOA "Use Cocoa for VTK render windows" ON)
Expand Down

0 comments on commit 356ea4f

Please sign in to comment.