mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-11 05:11:33 +00:00
Reverted PRIVATE in target_link_libraries() and clarifications
This commit is contained in:
parent
64a7787e90
commit
f023d7e014
2 changed files with 6 additions and 2 deletions
|
@ -873,6 +873,10 @@ write_basic_package_version_file(
|
||||||
COMPATIBILITY SameMinorVersion
|
COMPATIBILITY SameMinorVersion
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Here, configure_file() is used instead of the more orthodox macro
|
||||||
|
# configure_package_config_file() because the latter does not
|
||||||
|
# support generating a config.cmake file for both the installed
|
||||||
|
# package and for using the build directory directly.
|
||||||
configure_file(FluidSynthConfig.cmake.in FluidSynthConfig.cmake @ONLY)
|
configure_file(FluidSynthConfig.cmake.in FluidSynthConfig.cmake @ONLY)
|
||||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/FluidSynthConfig.cmake"
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/FluidSynthConfig.cmake"
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/FluidSynthConfigVersion.cmake"
|
"${CMAKE_CURRENT_BINARY_DIR}/FluidSynthConfigVersion.cmake"
|
||||||
|
|
|
@ -348,7 +348,7 @@ else ( MACOSX_FRAMEWORK )
|
||||||
)
|
)
|
||||||
endif ( MACOSX_FRAMEWORK )
|
endif ( MACOSX_FRAMEWORK )
|
||||||
|
|
||||||
target_link_libraries ( libfluidsynth PRIVATE
|
target_link_libraries ( libfluidsynth
|
||||||
${GLIB_LIBRARIES}
|
${GLIB_LIBRARIES}
|
||||||
${GMODULE_LIBRARIES}
|
${GMODULE_LIBRARIES}
|
||||||
${LASH_LIBRARIES}
|
${LASH_LIBRARIES}
|
||||||
|
@ -391,7 +391,7 @@ if ( FLUID_CPPFLAGS )
|
||||||
PROPERTIES COMPILE_FLAGS ${FLUID_CPPFLAGS} )
|
PROPERTIES COMPILE_FLAGS ${FLUID_CPPFLAGS} )
|
||||||
endif ( FLUID_CPPFLAGS )
|
endif ( FLUID_CPPFLAGS )
|
||||||
|
|
||||||
target_link_libraries ( fluidsynth PRIVATE
|
target_link_libraries ( fluidsynth
|
||||||
libfluidsynth
|
libfluidsynth
|
||||||
${SYSTEMD_LIBRARIES}
|
${SYSTEMD_LIBRARIES}
|
||||||
${FLUID_LIBS}
|
${FLUID_LIBS}
|
||||||
|
|
Loading…
Reference in a new issue