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 da2ae9f commit f9b0f15
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/language/code_generator.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ set(AST_GENERATED_SOURCES
${PROJECT_BINARY_DIR}/src/ast/write_ion_var.hpp
)

if(NMODL_ENABLE_PYTHON)
set(PYBIND_GENERATED_SOURCES
${PROJECT_BINARY_DIR}/src/pybind/pyast.cpp
${PROJECT_BINARY_DIR}/src/pybind/pyast.hpp
Expand All @@ -185,6 +186,7 @@ set(PYBIND_GENERATED_SOURCES
${PROJECT_BINARY_DIR}/src/pybind/pyvisitor.cpp
${PROJECT_BINARY_DIR}/src/pybind/pyvisitor.hpp
)
endif()

set(VISITORS_GENERATED_SOURCES
${PROJECT_BINARY_DIR}/src/visitors/ast_visitor.cpp
Expand Down

0 comments on commit f9b0f15

Please sign in to comment.