From 9683babcc8a4f5d08a02b281a335749bfbdbff5f Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 12 Nov 2016 13:18:20 +0100 Subject: [PATCH] adjust vtk warning --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3e62aadcc..cfcb3ccb4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()