2025-01-18 07:47:47 -08:00
|
|
|
set(BACKEND_GME_SRC ${CMAKE_CURRENT_SOURCE_DIR}/gme_backend.cpp)
|
|
|
|
set(BACKEND_GME_INC ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
|
2025-01-18 09:56:34 -08:00
|
|
|
pkg_check_modules(libgme IMPORTED_TARGET libgme)
|
2025-01-18 07:47:47 -08:00
|
|
|
add_playback_backend(gme_backend ${BACKEND_GME_SRC})
|
|
|
|
target_include_directories(gme_backend PRIVATE ${BACKEND_GME_INC})
|
|
|
|
find_package(OpenMP)
|
2025-01-18 09:56:34 -08:00
|
|
|
target_link_libraries(gme_backend PUBLIC PkgConfig::libgme OpenMP::OpenMP_CXX)
|