diff --git a/CMakeLists.txt b/CMakeLists.txt index 24e39d27..f4a17d20 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -836,6 +836,8 @@ else () endif () generate_pkgconfig_spec(fluidsynth.pc.in ${CMAKE_BINARY_DIR}/fluidsynth.pc libfluidsynth-OBJ) +install ( FILES ${CMAKE_BINARY_DIR}/fluidsynth.pc + DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig ) # Exported targets for cmake: find_package(FluidSynth) # when installed, use CMAKE_PREFIX_PATH=fluidsynth-prefix;...