1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-06-06 13:17:46 +00:00

Disable luadec in Flatpak for now

I will eventually re-enable it later, but it's not super important to
have right now.
This commit is contained in:
Joshua Goins 2025-06-02 21:59:12 -04:00
parent f287e2613b
commit d2c5cc28da

11
extern/CMakeLists.txt vendored
View file

@ -21,7 +21,10 @@ add_subdirectory(tinygltf EXCLUDE_FROM_ALL)
add_subdirectory(imgui EXCLUDE_FROM_ALL)
add_subdirectory(dxbc EXCLUDE_FROM_ALL)
# For some reason, FFXIV uses a *32-bit* Lua compiler. We have to build it as 32-bit or else loading the bytecode fails.
add_compile_options(-m32)
add_link_options(-m32)
add_subdirectory(luadec51 EXCLUDE_FROM_ALL)
# TODO: Enable in the Flatpak, it's a bit annoying though as we would have to build it separately
if (NOT BUILD_FLATPAK)
# For some reason, FFXIV uses a *32-bit* Lua compiler. We have to build it as 32-bit or else loading the bytecode fails.
add_compile_options(-m32)
add_link_options(-m32)
add_subdirectory(luadec51 EXCLUDE_FROM_ALL)
endif()