From e148559e622b735aa2ee07c5d84d92c7f14741d8 Mon Sep 17 00:00:00 2001 From: Luc Grosheintz Date: Wed, 6 Nov 2024 10:41:44 +0100 Subject: [PATCH] Fix NMODL_GENERATED_SOURCES without Python. --- src/language/code_generator.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/language/code_generator.cmake b/src/language/code_generator.cmake index 6c88f005a..2bec77765 100644 --- a/src/language/code_generator.cmake +++ b/src/language/code_generator.cmake @@ -176,7 +176,7 @@ set(AST_GENERATED_SOURCES ${PROJECT_BINARY_DIR}/src/ast/write_ion_var.hpp ) -if(NMODL_ENABLE_PYTHON) +if(NMODL_ENABLE_PYTHON_BINDINGS) set(PYBIND_GENERATED_SOURCES ${PROJECT_BINARY_DIR}/src/pybind/pyast.cpp ${PROJECT_BINARY_DIR}/src/pybind/pyast.hpp