9 lines
447 B
Text
9 lines
447 B
Text
|
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)
|