Skip to content

Conversation

@Freed-Wu
Copy link

Fix some build problems.
Now

luarocks install luanativeobjects
cmake -Bbuild -DUSE_PRE_GENERATED_BINDINGS=OFF -DGENERATE_LUADOCS=OFF

can build successfully.

  • rename luanativeobjects executable file name
  • let json be an optional dependency

According to https://luarocks.org/modules/neopallium/luanativeobjects
the executable file name of luanativeobjects is native_objects
not native_objects.lua
if user `cmake -Bbuild -DGENERATE_LUADOCS=OFF`,
`require"json"` is not necessary
@Freed-Wu
Copy link
Author

Freed-Wu commented Dec 5, 2025

@Neopallium Can you add me to collaborators? Let me see what can I do 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant