set(BACKEND_GME_SRC ${CMAKE_CURRENT_SOURCE_DIR}/gme_backend.cpp) set(BACKEND_GME_INC ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}) 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_link_libraries(gme_backend PUBLIC PkgConfig::libgme OpenMP::OpenMP_CXX)