aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake/Eigen3ConfigLegacy.cmake.in
diff options
context:
space:
mode:
authorGravatar Sergiu Deitsch <sergiu.deitsch@gmail.com>2016-11-22 12:25:06 +0100
committerGravatar Sergiu Deitsch <sergiu.deitsch@gmail.com>2016-11-22 12:25:06 +0100
commit5c516e4e0a1290b9a233c8f3c379fd6bde5ef9c2 (patch)
tree12433b38431660667056804b05002a104ab5545c /cmake/Eigen3ConfigLegacy.cmake.in
parent037b46762d48fdefef538dc76f0ad9638e3dffb0 (diff)
cmake: added Eigen3::Eigen imported target
Diffstat (limited to 'cmake/Eigen3ConfigLegacy.cmake.in')
-rw-r--r--cmake/Eigen3ConfigLegacy.cmake.in28
1 files changed, 28 insertions, 0 deletions
diff --git a/cmake/Eigen3ConfigLegacy.cmake.in b/cmake/Eigen3ConfigLegacy.cmake.in
new file mode 100644
index 000000000..04e7886ce
--- /dev/null
+++ b/cmake/Eigen3ConfigLegacy.cmake.in
@@ -0,0 +1,28 @@
+# -*- cmake -*-
+#
+# Eigen3Config.cmake(.in)
+
+# Use the following variables to compile and link against Eigen:
+# EIGEN3_FOUND - True if Eigen was found on your system
+# EIGEN3_USE_FILE - The file making Eigen usable
+# EIGEN3_DEFINITIONS - Definitions needed to build with Eigen
+# EIGEN3_INCLUDE_DIR - Directory where signature_of_eigen3_matrix_library can be found
+# EIGEN3_INCLUDE_DIRS - List of directories of Eigen and it's dependencies
+# EIGEN3_ROOT_DIR - The base directory of Eigen
+# EIGEN3_VERSION_STRING - A human-readable string containing the version
+# EIGEN3_VERSION_MAJOR - The major version of Eigen
+# EIGEN3_VERSION_MINOR - The minor version of Eigen
+# EIGEN3_VERSION_PATCH - The patch version of Eigen
+
+set ( EIGEN3_FOUND 1 )
+set ( EIGEN3_USE_FILE "${CMAKE_CURRENT_LIST_DIR}/UseEigen3.cmake" )
+
+set ( EIGEN3_DEFINITIONS "@EIGEN_DEFINITIONS@" )
+set ( EIGEN3_INCLUDE_DIR "@EIGEN_INCLUDE_DIR@" )
+set ( EIGEN3_INCLUDE_DIRS "@EIGEN_INCLUDE_DIRS@" )
+set ( EIGEN3_ROOT_DIR "@EIGEN_ROOT_DIR@" )
+
+set ( EIGEN3_VERSION_STRING "@EIGEN_VERSION_STRING@" )
+set ( EIGEN3_VERSION_MAJOR "@EIGEN_VERSION_MAJOR@" )
+set ( EIGEN3_VERSION_MINOR "@EIGEN_VERSION_MINOR@" )
+set ( EIGEN3_VERSION_PATCH "@EIGEN_VERSION_PATCH@" )