mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-22 18:39:46 +00:00
Fix the issues found while reviewing the build files
Install the Wayland development packages in both workflows and bundle the runtime libraries in the AppImage: the release build had no native Wayland backend at all, and the engine silently fell back to GLFW there. Build the window backends on every platform that is not Windows and not Apple, glob the wayland sources with CONFIGURE_DEPENDS, and report a missing Wayland dependency with the list of what is missing. Also drop the dead nested project() calls and the duplicate -no-pie option, make .dirIcon the file appimagetool expects, and describe the real Linux dependencies in the README.
This commit is contained in:
parent
3a574ade8c
commit
b6f6235249
10 changed files with 46 additions and 26 deletions
|
|
@ -116,10 +116,10 @@ set(VOXEL_COMPILE_OPTIONS
|
|||
-Wduplicated-cond
|
||||
>)
|
||||
|
||||
# Everything the engine sources and their public headers include: the backends
|
||||
# compile against the same surface, and a missing include directory shows up as
|
||||
# a build failure only on the platforms that keep the library outside the
|
||||
# default include path.
|
||||
# The include directory and the window/render dependencies shared by the engine
|
||||
# and the window backends: glfw, GLEW, OpenGL and glm. The remaining engine
|
||||
# dependencies (luajit, EnTT, OpenAL, zlib and others) are linked to VoxelCoreSrc
|
||||
# only, even though the public headers pull them in.
|
||||
add_library(VoxelCoreInterface INTERFACE)
|
||||
|
||||
target_include_directories(VoxelCoreInterface INTERFACE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue