Add support for building the CFFI lib without InChI (#7698)

This commit is contained in:
Andrew Kane
2024-08-10 12:16:58 -07:00
committed by GitHub
parent 0be2c3a1b6
commit 5771d9c181
8 changed files with 34 additions and 2 deletions

View File

@@ -1000,6 +1000,7 @@ std::string get_mol_frags_mappings(
return buffer.GetString();
}
#ifdef RDK_BUILD_INCHI_SUPPORT
std::string parse_inchi_options(const char *details_json) {
std::string options;
if (details_json && strlen(details_json)) {
@@ -1011,6 +1012,7 @@ std::string parse_inchi_options(const char *details_json) {
}
return options;
}
#endif
struct LogHandle {
public: