You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
794 B

  1. diff -up avogadro-1.1.1/libavogadro/src/python/CMakeLists.txt.openbabel avogadro-1.1.1/libavogadro/src/python/CMakeLists.txt
  2. --- avogadro-1.1.1/libavogadro/src/python/CMakeLists.txt.openbabel 2013-12-06 09:50:04.000000000 -0600
  3. +++ avogadro-1.1.1/libavogadro/src/python/CMakeLists.txt 2016-01-25 13:50:10.469758655 -0600
  4. @@ -20,8 +20,8 @@ if (WIN32)
  5. set_target_properties(python-module PROPERTIES SUFFIX ".pyd")
  6. target_link_libraries(python-module avogadro ${PYTHON_LIBRARIES})
  7. else()
  8. - target_link_libraries(python-module stdc++ avogadro
  9. - ${QT_LIBRARIES} ${PYTHON_LIBRARIES} ${Boost_LIBRARIES})
  10. + target_link_libraries(python-module stdc++ avogadro
  11. + ${QT_LIBRARIES} ${PYTHON_LIBRARIES} ${OPENBABEL2_LIBRARIES} ${Boost_LIBRARIES})
  12. endif()
  13. # Let's try to use this instead: