diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 09f4e5c80f..2543586cab 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -821,5 +821,7 @@ add_subdirectory(external) if((NRN_ENABLE_NMODL OR NRN_ENABLE_CORENEURON) AND NRN_ENABLE_TESTS) add_subdirectory(nmodl/transpiler/unit) add_subdirectory(nmodl/transpiler/integration) - add_subdirectory(nmodl/transpiler/usecases) + if(NRN_ENABLE_PYTHON AND NOT NRN_SANITIZERS) + add_subdirectory(nmodl/transpiler/usecases) + endif() endif()