diff --git a/Code/GraphMol/Descriptors/catch_tests.cpp b/Code/GraphMol/Descriptors/catch_tests.cpp index f1b3ea96a..1fb04697f 100644 --- a/Code/GraphMol/Descriptors/catch_tests.cpp +++ b/Code/GraphMol/Descriptors/catch_tests.cpp @@ -21,7 +21,9 @@ #include #include #include +#ifdef RDK_BUILD_DESCRIPTORS3D #include +#endif using namespace RDKit; @@ -706,6 +708,7 @@ TEST_CASE( } } +#ifdef RDK_BUILD_DESCRIPTORS3D TEST_CASE("Github #7264: GETAWAY descriptors are non-deterministic") { SECTION("as reported") { v2::SmilesParse::SmilesParserParams ps; @@ -727,4 +730,5 @@ TEST_CASE("Github #7264: GETAWAY descriptors are non-deterministic") { CHECK(res1[i] == res2[i]); } } -} \ No newline at end of file +} +#endif \ No newline at end of file