sbmlteam / libsbml

LibSBML is a native library for reading, writing and manipulating files and data streams containing the Systems Biology Markup Language (SBML). It offers language bindings for C, C++, C#, Java, JavaScript, MATLAB, Perl, PHP, Python, R and Ruby.

Home Page:https://sbml.org/software/libsbml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Linking against libsbml 5.20 via CMake leads to an error.

adelhpour opened this issue · comments

This is the error I get when I try to configure my project in which I am building a library linked to libsbml.

CMake Error at C:/Users/adel/Documents/Projects/Built/libsbml/install/share/cmake/Modules/FindBZ2.cmake:55 (check_library_exists):
Unknown CMake command "check_library_exists".

CMake Error at C:/Users/adel/Documents/Projects/Built/libsbml/install/share/cmake/Modules/FindLIBXML.cmake:124 (CHECK_C_SOURCE_COMPILES):
Unknown CMake command "CHECK_C_SOURCE_COMPILES".

I think there are some missing modules in find-dependency-.cmake scripts. I have modified those scripts and created the pull request #331

Thank you for the PR, I've just approved and merged it.