vtk_eigen.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
3 #ifndef vtk_eigen_h
4 #define vtk_eigen_h
5 
6 // VTK should only be using MPL2 Eigen code.
7 #ifndef EIGEN_MPL2_ONLY
8 #define EIGEN_MPL2_ONLY
9 #endif
10 
11 /* Use the eigen library configured for VTK. */
12 #define VTK_MODULE_USE_EXTERNAL_vtkeigen 0
13 
14 #if VTK_MODULE_USE_EXTERNAL_vtkeigen
15 # define VTK_EIGEN(x) <Eigen/x>
16 #else
17 # define VTK_EIGEN(x) <vtkeigen/eigen/x>
18 #endif
19 
20 #endif