Standardize VTK version check pre-processing directives
Check for the build date of the exact introduction of the feature instead of the next tagged version
This commit is contained in:
committed by
Max Wilfinger
parent
bd90728f88
commit
c9acda2a65
@@ -32,7 +32,7 @@
|
||||
#include "FemResultObject.h"
|
||||
#include "VTKExtensions/vtkFemFrameSourceAlgorithm.h"
|
||||
|
||||
#if VTK_VERSION_NUMBER < VTK_VERSION_CHECK(9, 3, 0)
|
||||
#if VTK_VERSION_NUMBER < VTK_VERSION_CHECK(9, 2, 20230125)
|
||||
# include "VTKExtensions/vtkCleanUnstructuredGrid.h"
|
||||
#else
|
||||
# include <vtkCleanUnstructuredGrid.h>
|
||||
|
||||
@@ -151,7 +151,7 @@
|
||||
#include <vtkAppendFilter.h>
|
||||
#include <vtkArrayCalculator.h>
|
||||
#include <vtkCellArray.h>
|
||||
#if VTK_VERSION_NUMBER >= VTK_VERSION_CHECK(9, 3, 0)
|
||||
#if VTK_VERSION_NUMBER >= VTK_VERSION_CHECK(9, 2, 20230125)
|
||||
# include <vtkCleanUnstructuredGrid.h>
|
||||
#endif
|
||||
#include <vtkCompositeDataSet.h>
|
||||
|
||||
Reference in New Issue
Block a user