fixed compilation of CLI client

This commit is contained in:
Pedro López-Cabanillas 2021-09-05 22:37:25 +02:00
parent 55678a078a
commit b23dc4e961

View file

@ -443,8 +443,13 @@ endif ( FLUID_CPPFLAGS )
target_include_directories ( fluidsynth PRIVATE
${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/include
${CMAKE_SOURCE_DIR}/src/utils
${CMAKE_SOURCE_DIR}/src/bindings
${CMAKE_SOURCE_DIR}/src/midi
${CMAKE_SOURCE_DIR}/src/rvoice
${CMAKE_SOURCE_DIR}/src/sfloader
${CMAKE_SOURCE_DIR}/src/synth
${CMAKE_SOURCE_DIR}/src/utils
${CMAKE_SOURCE_DIR}/src/
${CMAKE_SOURCE_DIR}/include
)
@ -469,6 +474,10 @@ if ( TARGET PkgConfig::LIBINSTPATCH AND LIBINSTPATCH_SUPPORT )
target_link_libraries ( fluidsynth PRIVATE PkgConfig::LIBINSTPATCH )
endif()
if ( TARGET PkgConfig::LASH AND LASH_SUPPORT )
target_link_libraries ( fluidsynth PRIVATE PkgConfig::LASH )
endif()
if ( MACOSX_FRAMEWORK )
install ( TARGETS fluidsynth libfluidsynth
EXPORT FluidSynthTargets