mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-05-30 17:00:39 +00:00
parent
82a354d515
commit
2f35afe79e
4 changed files with 241 additions and 0 deletions
|
@ -203,6 +203,23 @@ set ( public_main_HEADER
|
|||
${CMAKE_SOURCE_DIR}/include/fluidsynth.h
|
||||
)
|
||||
|
||||
if ( WIN32 AND NOT MINGW )
|
||||
include(generate_product_version)
|
||||
generate_product_version(
|
||||
VersionFilesOutputVariable
|
||||
NAME "Fluidsynth"
|
||||
BUNDLE "Fluidsynth"
|
||||
VERSION_MAJOR ${FLUIDSYNTH_VERSION_MAJOR}
|
||||
VERSION_MINOR ${FLUIDSYNTH_VERSION_MINOR}
|
||||
VERSION_PATCH ${FLUIDSYNTH_VERSION_MICRO}
|
||||
VERSION_REVISION 0
|
||||
COMMENTS "Fluidsynth"
|
||||
COMPANY_NAME "Fluidsynth LGPL"
|
||||
ORIGINAL_FILENAME "libfluidsynth.dll"
|
||||
FILE_DESCRIPTION "Fluidsynth"
|
||||
)
|
||||
endif ( WIN32 AND NOT MINGW )
|
||||
|
||||
link_directories (
|
||||
${GLIB_LIBDIR}
|
||||
${GLIB_LIBRARY_DIRS}
|
||||
|
@ -242,6 +259,7 @@ add_library ( libfluidsynth
|
|||
${libfluidsynth_SOURCES}
|
||||
${public_HEADERS}
|
||||
${public_main_HEADER}
|
||||
${VersionFilesOutputVariable}
|
||||
)
|
||||
|
||||
if ( MACOSX_FRAMEWORK )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue