Skip to content

Commit

Permalink
fix autogenerate all_pybind_files
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Jan 24, 2024
1 parent 569c9dc commit d5f630b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions external/bindings_generation/autogenerate_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import os

sys.path.append(os.path.dirname(__file__) + "/..")
from bindings_generation import all_external_libraries
from bindings_generation import all_external_libraries # noqa: E402


def autogenerate_all():
Expand Down Expand Up @@ -32,8 +32,7 @@ def write_cmake_all_pybind_files():
set(all_pybind_files
_FILELIST_
)
"""
)"""
filelist = "\n".join(pybind_files)

cmake_content = cmake_template.replace("_FILELIST_", filelist)
Expand Down
2 changes: 1 addition & 1 deletion external/bindings_generation/cpp/all_pybind_files.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ set(all_pybind_files
${external_dir}/imspinner/bindings/pybind_imspinner.cpp
${external_dir}/portable_file_dialogs/bindings/pybind_portable_file_dialogs.cpp
${external_dir}/nanovg/bindings/pybind_nanovg.cpp
)
)

0 comments on commit d5f630b

Please sign in to comment.