Open KAMiKAZOW opened 1 year ago
hm weird, must be some difference in how the files are layed out between distros. When making these changes I only tested them on Fedora (and Ubuntu on the CI).
Btw, I'm using Open Build Service for compilation, so feel free to take a look: https://build.opensuse.org/package/show/home:KAMiKAZOW:Emulators/melonds
I don't know if it helps, but I can compile locally on tumbleweed after adding:
include_directories("/usr/include/wayland")
to the top of the CMakeLists.txt file
SUSE's extra-cmake-modules
package's FindWayland.cmake sets Wayland_INCLUDE_DIRS
, I included it in src/frontend/qt_sdl/CMakeLists.txt and it built for me on Tumbleweed
I'm packaging emulators and other software for my personal use for quite some time, so I'm not completely clueless about compiling software. I've included the dependency for wayland-egl's header files, CMake's initial dependency check reported no unmet dependencies, and yet the build system doesn't find it when compiling. It's no problem on Fedora btw (I use the same package definition file for both).