summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuigi Toscano <luigi.toscano@tiscali.it>2015-09-27 14:40:27 (GMT)
committerLuigi Toscano <luigi.toscano@tiscali.it>2015-09-27 14:40:27 (GMT)
commit6b9cf7154f5c41a23c96051a5e83e63ac0c33078 (patch)
tree805aa26f518396043b1e04f75933b082cfdf8b9e
parent6e2bb3487238a4f636c791ebfe56a63c8b9ab2cb (diff)
Both AvogadroLibs and Eigen3 are optional
The REQUIRED was added during the initial port to Frameworks 5, but the conditional code enabled by Avogadro and Eigen3 availability is still in place, and in fact Kalzium still compiles and run without both (minus some functionalities). Reviewed-by: Andreas Cord-Landwehr <cordlandwehr@kde.org>
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 092ad1e..2451028 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,8 +9,8 @@ find_package(Qt5Svg REQUIRED)
find_package(KF5 REQUIRED COMPONENTS Plotting CoreAddons Solid Config Archive KHtml I18n DocTools Parts UnitConversion WidgetsAddons NewStuff KDELibs4Support)
find_package(Gettext REQUIRED)
find_package(PythonInterp REQUIRED)
-find_package(AvogadroLibs REQUIRED)
-find_package(Eigen3 REQUIRED)
+find_package(AvogadroLibs)
+find_package(Eigen3)
find_package(OpenGL REQUIRED)
include(KDEInstallDirs)