adjust vtk warning
This commit is contained in:
parent
00829c7753
commit
9683babcc8
|
@ -589,8 +589,8 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|||
# For Debian testing you may have to only allow a certain list of components:
|
||||
# http://forum.freecadweb.org/viewtopic.php?f=4&t=15646&start=10#p141693
|
||||
#
|
||||
#find_package(VTK COMPONENTS ${VTK_COMPONENTS} REQUIRED) #don't check VERSION 6 as this would exclude version 7
|
||||
find_package(VTK REQUIRED) #don't check VERSION 6 as this would exclude version 7
|
||||
#find_package(VTK COMPONENTS ${VTK_COMPONENTS} REQUIRED NO_MODULE) #don't check VERSION 6 as this would exclude version 7
|
||||
find_package(VTK REQUIRED NO_MODULE) #don't check VERSION 6 as this would exclude version 7
|
||||
|
||||
set(BUILD_FEM_VTK ON)
|
||||
if(${VTK_MAJOR_VERSION} LESS 6)
|
||||
|
@ -601,7 +601,7 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|||
set(VTK_OPTIONS -DVTK_NO_QUAD_POLY)
|
||||
endif()
|
||||
if(${VTK_MINOR_VERSION} EQUAL 0)
|
||||
message(WARNING "VTK <6.0 cannot be used with c++11, FEM postprocessing is disabled")
|
||||
message(WARNING "VTK equal to 6.0 cannot be used with c++11, FEM postprocessing is disabled")
|
||||
set(BUILD_FEM_VTK OFF)
|
||||
endif()
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue
Block a user