21 lines
694 B
Diff
21 lines
694 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 1cbeb8f..e1e40d6 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -231,14 +231,7 @@ if(NOT Linguist_FOUND)
|
|
message(WARNING " Qt4 Linguist not found, please install it if you want Avogadro translations")
|
|
endif()
|
|
|
|
-find_package(Eigen3) # find and setup Eigen3 if available
|
|
-if(NOT EIGEN3_FOUND)
|
|
- message(STATUS "Cannot find Eigen3, trying Eigen2")
|
|
- find_package(Eigen2 REQUIRED) # Some version is required
|
|
-else()
|
|
-# Use Stage10 Eigen3 support
|
|
- set (EIGEN2_SUPPORT_STAGE10_FULL_EIGEN2_API TRUE)
|
|
-endif()
|
|
+find_package(Eigen2 REQUIRED)
|
|
|
|
find_package(ZLIB REQUIRED)
|
|
find_package(OpenBabel2 REQUIRED) # find and setup OpenBabel
|