D29482: Add support for openbabel 3

John Scott noreply at phabricator.kde.org
Tue Jun 9 15:13:20 BST 2020


joscott added a comment.


  > What's the full path of OpenBabel3Config.cmake and its second line ("get_filename_component") on Debian?
  
  I was so focused on the linker errors I overlooked that. It's installed at usr/lib/x86_64-linux-gnu/cmake/openbabel3/OpenBabel3Config.cmake.  Here is its full content (on the second/third lines that's actually a hard line break, not a wrap).
  
    # The OpenBabel3 config file. To get the targets include the exports file.
    get_filename_component(OpenBabel3_INSTALL_PREFIX "${OpenBabel3_DIR}/../../.."
    ABSOLUTE)
    set(OpenBabel3_VERSION_MAJOR   "3")
    set(OpenBabel3_VERSION_MINOR   "1")
    set(OpenBabel3_VERSION_PATCH   "0")
    set(OpenBabel3_VERSION         "3.1.0")
    set(OpenBabel3_INCLUDE_DIRS "${OpenBabel3_INSTALL_PREFIX}/include/openbabel3")
    set(OpenBabel3_LIBRARIES "$<TARGET_FILE:openbabel>")
    set(OpenBabel3_EXPORTS_FILE "${OpenBabel3_INSTALL_PREFIX}/lib/cmake/openbabel3/OpenBabel3_EXPORTS.cmake")
    set(OpenBabel3_ENABLE_VERSIONED_FORMATS "ON")
    # Include the exports file to import the exported OpenBabel targets
    include("${OpenBabel3_EXPORTS_FILE}")

REPOSITORY
  R326 Kalzium

REVISION DETAIL
  https://phabricator.kde.org/D29482

To: arojas, #kalzium, yurchor
Cc: joscott, yurchor, kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20200609/6b15cf16/attachment.htm>


More information about the kde-edu mailing list