some fixes to the cmake files. It still is not working
[kdeedu-porting.git] / kalzium / CMakeLists.txt
blob3fed1d85bdf5c9c8e6318d0b45b2aa8c8a907c93
1 project(kalzium)
3 include(KalziumConfigureChecks.cmake)
5 macro_optional_find_package(Plasma)
6 macro_bool_to_01(PLASMA_FOUND HAVE_PLASMA)
7 macro_log_feature(PLASMA_FOUND "Plasma" "Plasma is the KDE4 desktop" "http://plasma.kde.org" FALSE "" "Provides a Kalzium Plasmoid")
9 if(OPENBABEL2_FOUND AND OPENGL_FOUND AND EIGEN_FOUND)
10         add_subdirectory(libavogadro-kalzium)
11    #    add_subdirectory(compoundviewer)
12 endif(OPENBABEL2_FOUND AND OPENGL_FOUND AND EIGEN_FOUND)
14 #add_subdirectory(src)
15 ##add_subdirectory(data)
16 #if(HAVE_PLASMA)
17    #   add_subdirectory(plasmoid)
18 #endif(HAVE_PLASMA)