Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
Context not available. | |||||
14 | 14 | | |||
---|---|---|---|---|---|
15 | ########### next target ############### | 15 | ########### next target ############### | ||
16 | 16 | | |||
17 | # The tools can only be built when OpenBabel2 is found. | 17 | # The tools can only be built when OpenBabel is found. | ||
18 | # The moleculeviewer needs not only OpenBabel2 but also Eigen2 and Avogadro, | 18 | # The moleculeviewer needs not only OpenBabel but also Eigen and Avogadro, | ||
19 | # so there is a nested if-check. | 19 | # so there is a nested if-check. | ||
20 | if (OPENBABEL2_FOUND) | 20 | if (HAVE_OPENBABEL) | ||
21 | set(kalziumtools_SRCS | 21 | set(kalziumtools_SRCS | ||
22 | tools/obconverter.cpp | 22 | tools/obconverter.cpp | ||
23 | ) | 23 | ) | ||
Context not available. | |||||
25 | ki18n_wrap_ui(kalziumtools_SRCS | 25 | ki18n_wrap_ui(kalziumtools_SRCS | ||
26 | tools/obconverterwidget.ui | 26 | tools/obconverterwidget.ui | ||
27 | ) | 27 | ) | ||
28 | include_directories(SYSTEM ${OPENBABEL2_INCLUDE_DIR}) | 28 | include_directories(SYSTEM ${OPENBABEL_INCLUDE_DIR}) | ||
29 | 29 | | |||
30 | if (EIGEN3_FOUND AND AvogadroLibs_FOUND) | 30 | if (EIGEN3_FOUND AND AvogadroLibs_FOUND) | ||
31 | 31 | | |||
Context not available. | |||||
41 | ) | 41 | ) | ||
42 | include_directories(${EIGEN3_INCLUDE_DIR}) | 42 | include_directories(${EIGEN3_INCLUDE_DIR}) | ||
43 | endif (EIGEN3_FOUND AND AvogadroLibs_FOUND) | 43 | endif (EIGEN3_FOUND AND AvogadroLibs_FOUND) | ||
44 | endif (OPENBABEL2_FOUND) | 44 | endif (HAVE_OPENBABEL) | ||
45 | 45 | | |||
46 | ## Kalzium calculator files | 46 | ## Kalzium calculator files | ||
47 | set(kalziumtools_SRCS | 47 | set(kalziumtools_SRCS | ||
Context not available. | |||||
151 | Qt5::Svg | 151 | Qt5::Svg | ||
152 | science | 152 | science | ||
153 | ) | 153 | ) | ||
154 | if (OPENBABEL2_FOUND) | 154 | if (HAVE_OPENBABEL) | ||
155 | target_link_libraries(kalzium ${OPENBABEL2_LIBRARIES}) | 155 | target_link_libraries(kalzium ${OPENBABEL_LIBRARIES}) | ||
156 | if (EIGEN3_FOUND AND AvogadroLibs_FOUND) | 156 | if (EIGEN3_FOUND AND AvogadroLibs_FOUND) | ||
157 | target_link_libraries(kalzium | 157 | target_link_libraries(kalzium | ||
158 | KF5::NewStuff | 158 | KF5::NewStuff | ||
Context not available. | |||||
163 | AvogadroQtPlugins | 163 | AvogadroQtPlugins | ||
164 | ) | 164 | ) | ||
165 | endif (EIGEN3_FOUND AND AvogadroLibs_FOUND) | 165 | endif (EIGEN3_FOUND AND AvogadroLibs_FOUND) | ||
166 | endif (OPENBABEL2_FOUND) | 166 | endif (HAVE_OPENBABEL) | ||
167 | 167 | | |||
168 | if (LIBFACILE_FOUND) | 168 | if (LIBFACILE_FOUND) | ||
169 | link_directories(${OCAMLC_DIR}) | 169 | link_directories(${OCAMLC_DIR}) | ||
Context not available. |