Skip to content

Commit d2c5cc2

Browse files
committed
Disable luadec in Flatpak for now
I will eventually re-enable it later, but it's not super important to have right now.
1 parent f287e26 commit d2c5cc2

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

extern/CMakeLists.txt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ add_subdirectory(tinygltf EXCLUDE_FROM_ALL)
2121
add_subdirectory(imgui EXCLUDE_FROM_ALL)
2222
add_subdirectory(dxbc EXCLUDE_FROM_ALL)
2323

24-
# For some reason, FFXIV uses a *32-bit* Lua compiler. We have to build it as 32-bit or else loading the bytecode fails.
25-
add_compile_options(-m32)
26-
add_link_options(-m32)
27-
add_subdirectory(luadec51 EXCLUDE_FROM_ALL)
24+
# TODO: Enable in the Flatpak, it's a bit annoying though as we would have to build it separately
25+
if (NOT BUILD_FLATPAK)
26+
# For some reason, FFXIV uses a *32-bit* Lua compiler. We have to build it as 32-bit or else loading the bytecode fails.
27+
add_compile_options(-m32)
28+
add_link_options(-m32)
29+
add_subdirectory(luadec51 EXCLUDE_FROM_ALL)
30+
endif()

0 commit comments

Comments
 (0)