1 2 3 4 5 6 7 8 9 10
fluidsynth provides CMake targets: find_package(FluidSynth CONFIG REQUIRED) target_link_libraries(main PRIVATE FluidSynth::libfluidsynth) add_custom_command(OUTPUT result COMMAND FluidSynth::q ARGS ...) fluidsynth provides pkg-config modules: # Software SoundFont synth fluidsynth