Use pkgconfig version of fludsynth
Some checks failed
Build / build-gentoo (push) Failing after 1m24s
Build / download-system-deps (push) Successful in 3m43s
Build / get-source-code (push) Successful in 13m21s
Build / build-appimage (push) Successful in 4m2s
Build / build-android (push) Failing after 3m10s
Build / build-windows (push) Failing after 7m28s

This commit is contained in:
Zachary Hall 2024-12-11 16:33:27 -08:00
parent b886e6a585
commit e8af95be9b

View file

@ -3,5 +3,7 @@ set(BACKEND_FLUIDSYNTH_INC ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DI
add_playback_backend(fluidsynth_backend ${BACKEND_FLUIDSYNTH_SRC})
target_include_directories(fluidsynth_backend PRIVATE ${BACKEND_FLUIDSYNTH_INC})
find_package(OpenMP)
find_package(FluidSynth)
target_link_libraries(fluidsynth_backend PUBLIC OpenMP::OpenMP_CXX FluidSynth::libfluidsynth)
find_package(PkgConfig)
pkg_check_modules(fluidsynth fluidsynth IMPORTED_TARGET)
target_link_libraries(fluidsynth_backend PUBLIC OpenMP::OpenMP_CXX PkgConfig::fluidsynth)