Skip to content

Commit

Permalink
Fix NMODL_GENERATED_SOURCES without Python.
Browse files Browse the repository at this point in the history
  • Loading branch information
1uc committed Nov 6, 2024
1 parent f9b0f15 commit e148559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/language/code_generator.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e148559

Please sign in to comment.