diff options
author | Yuri D'Elia <wavexx@thregr.org> | 2019-07-13 18:56:43 +0300 |
---|---|---|
committer | Vojtěch Bubník <5830947+bubnikv@users.noreply.github.com> | 2019-07-22 15:53:51 +0300 |
commit | 77c3d2fbb3ef2343777dd00bbae4056d4509331c (patch) | |
tree | fbe0f921c888cb563392c66bb546284ce12b15cc /CMakeLists.txt | |
parent | 9d59d65fadbbc0db4c44b01dafd11559517e7d1d (diff) |
Use system Eigen3 on linux when found
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 49717b68d..f60c8bde6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -317,10 +317,10 @@ endif() # Find eigen3 or use bundled version if (NOT SLIC3R_STATIC) - find_package(Eigen3 3) + find_package(Eigen3 3.3) endif () -if (NOT Eigen3_FOUND) - set(Eigen3_FOUND 1) +if (NOT EIGEN3_FOUND) + set(EIGEN3_FOUND 1) set(EIGEN3_INCLUDE_DIR ${LIBDIR}/eigen/) endif () include_directories(BEFORE SYSTEM ${EIGEN3_INCLUDE_DIR}) |