Use system game-music-emu
Some checks failed
Build / get-source-code (push) Blocked by required conditions
Build / build-deb (push) Blocked by required conditions
Build / build-appimage (push) Blocked by required conditions
Build / build-android (push) Blocked by required conditions
Build / build-windows (push) Blocked by required conditions
Build / build-gentoo (push) Failing after 14s
Build / download-system-deps (push) Has been cancelled

This commit is contained in:
Zachary Hall 2025-01-18 09:56:34 -08:00
parent 8d9cf9372e
commit 1420f951c6
3 changed files with 2 additions and 7 deletions

3
.gitmodules vendored
View file

@ -57,6 +57,3 @@
[submodule "subprojects/protobuf-c"]
path = subprojects/protobuf-c
url = https://github.com/protobuf-c/protobuf-c.git
[submodule "backends/playback/gme/game-music-emu"]
path = backends/playback/gme/game-music-emu
url = https://github.com/libgme/game-music-emu.git

View file

@ -1,8 +1,7 @@
set(BACKEND_GME_SRC ${CMAKE_CURRENT_SOURCE_DIR}/gme_backend.cpp)
set(BACKEND_GME_INC ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
add_subdirectory(game-music-emu)
pkg_check_modules(libgme IMPORTED_TARGET libgme)
add_playback_backend(gme_backend ${BACKEND_GME_SRC})
target_include_directories(gme_backend PRIVATE ${BACKEND_GME_INC})
find_package(OpenMP)
target_include_directories(gme_backend PUBLIC game-music-emu/gme)
target_link_libraries(gme_backend PUBLIC gme OpenMP::OpenMP_CXX)
target_link_libraries(gme_backend PUBLIC PkgConfig::libgme OpenMP::OpenMP_CXX)

@ -1 +0,0 @@
Subproject commit e76bdc0cb916e79aa540290e6edd0c445879d3ba