looper/backends/playback/gme/CMakeLists.txt
Zachary Hall 8d9cf9372e
Some checks failed
Build / build-gentoo (push) Failing after 14s
Build / download-system-deps (push) Successful in 4m36s
Build / get-source-code (push) Successful in 17m33s
Build / build-deb (push) Failing after 12m45s
Build / build-appimage (push) Successful in 5m23s
Build / build-android (push) Failing after 3m11s
Build / build-windows (push) Failing after 7m37s
Add Game Music Emu backend
2025-01-18 07:47:47 -08:00

8 lines
447 B
CMake

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)
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)