openbabel/openbabel-2.3.0-plugindir.patch
Kevin Kofler d832d3c29a * Tue Mar 22 2011 Kevin Kofler <Kevin@tigcc.ticalc.org> 2.3.0-3
- fix plugin directory location (#680292, patch by lg)
- show forcefields list in obenergy output (#680292, patch by lg)
2011-03-22 22:57:13 +01:00

13 lines
512 B
Diff

diff -ru openbabel-2.3.0/CMakeLists.txt openbabel-2.3.0-lg/CMakeLists.txt
--- openbabel-2.3.0/CMakeLists.txt 2010-10-23 02:05:07.000000000 +0400
+++ openbabel-2.3.0-lg/CMakeLists.txt 2011-02-26 18:49:31.000000000 +0300
@@ -218,7 +218,7 @@
}
" SCANDIR_NEEDS_CONST)
- set(OB_MODULE_PATH "${CMAKE_INSTALL_PREFIX}/${OB_PLUGIN_INSTALL_DIR}")
+ set(OB_MODULE_PATH "${OB_PLUGIN_INSTALL_DIR}")
add_definitions(-DOB_MODULE_PATH="\\"${OB_MODULE_PATH}\\"")
# Add some visibility support when using GCC