File avogadro-opanbabel.patch of Package avogadro-qt4

Index: avogadro-1.1.1/libavogadro/src/python/CMakeLists.txt
===================================================================
--- avogadro-1.1.1.orig/libavogadro/src/python/CMakeLists.txt
+++ avogadro-1.1.1/libavogadro/src/python/CMakeLists.txt
@@ -21,7 +21,7 @@ if (WIN32)
   target_link_libraries(python-module avogadro ${PYTHON_LIBRARIES})
 else()
   target_link_libraries(python-module stdc++ avogadro
-    ${QT_LIBRARIES} ${PYTHON_LIBRARIES} ${Boost_LIBRARIES})
+    ${QT_LIBRARIES} ${PYTHON_LIBRARIES} ${OPENBABEL2_LIBRARIES} ${Boost_LIBRARIES})
 endif()
 
 # Let's try to use this instead:
openSUSE Build Service is sponsored by