Skip to content

Commit

Permalink
Fix SDL3 linking
Browse files Browse the repository at this point in the history
Fix SDL3 linking
  • Loading branch information
andyvand committed Feb 1, 2025
1 parent 801c118 commit fc7dc1d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,10 @@ else ()
set ( includedir "\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}" )
endif ()

if ( SDL3_SUPPORT )
target_link_libraries ( libfluidsynth-OBJ PUBLIC SDL3::SDL3 )
endif()

generate_pkgconfig_spec(fluidsynth.pc.in ${FluidSynth_BINARY_DIR}/fluidsynth.pc libfluidsynth-OBJ)
install ( FILES ${FluidSynth_BINARY_DIR}/fluidsynth.pc
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig )
Expand Down

0 comments on commit fc7dc1d

Please sign in to comment.