This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
avogadro/avogadro-1.2.0-libopenbabel2-2.4.1.patch

23 lines
888 B
Diff

--- avogadro-1.2.0/cmake/modules/FindOpenBabel2.cmake.orig 2020-05-16 14:57:50.268000000 +0200
+++ avogadro-1.2.0/cmake/modules/FindOpenBabel2.cmake 2020-05-16 14:57:56.301000000 +0200
@@ -48,7 +48,7 @@
endif(NOT OPENBABEL2_INCLUDE_DIR)
endif()
- find_library(OPENBABEL2_LIBRARIES NAMES openbabel openbabel-2
+ find_library(OPENBABEL2_LIBRARIES NAMES openbabel-2
PATHS
${_obLinkDir}
${GNUWIN32_DIR}/lib
--- avogadro-1.2.0/avogadro.prf.in.orig 2020-05-16 15:16:17.226000000 +0200
+++ avogadro-1.2.0/avogadro.prf.in 2020-05-16 15:16:23.884000000 +0200
@@ -5,7 +5,7 @@
"@OPENBABEL2_INCLUDE_DIR@ \
"@EIGEN2_INCLUDE_DIR@"
LIBS += -L"$$AVOGADRO_PREFIX/lib" -lavogadro \
- -L"$$OPENBABEL_PREFIX/lib" -lopenbabel
+ -L"$$OPENBABEL_PREFIX/lib" -lopenbabel-2
unix {
manifest_.target = $$eval(TARGET).mf