slackbuilds_ponce/academic/avogadro/avogadro-1.1.1-python_openbabel.patch
Larry Hajali a99f628b50
academic/avogadro: Updated for version 1.2.0
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
2016-08-20 07:51:32 +07:00

14 lines
794 B
Diff

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