mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-03-01 15:10:43 +00:00
fix library file names when building with MinGW and CMake
We have applied this patch to the mingw-w64-fluidsynth package [1] in MSYS2 to recieve the same library file names when building with CMake as we got when building with Autotools. [1] https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-fluidsynth
This commit is contained in:
parent
df1c9a3e5c
commit
9a205c0b8b
1 changed files with 9 additions and 0 deletions
|
@ -268,6 +268,15 @@ elseif ( OS2 )
|
|||
VERSION ${LIB_VERSION_INFO}
|
||||
SOVERSION ${LIB_VERSION_CURRENT}
|
||||
)
|
||||
elseif ( WIN32 )
|
||||
set_target_properties ( libfluidsynth
|
||||
PROPERTIES
|
||||
ARCHIVE_OUTPUT_NAME "fluidsynth"
|
||||
PREFIX "lib"
|
||||
OUTPUT_NAME "fluidsynth-${LIB_VERSION_CURRENT}"
|
||||
VERSION ${LIB_VERSION_INFO}
|
||||
SOVERSION ${LIB_VERSION_CURRENT}
|
||||
)
|
||||
else ( MACOSX_FRAMEWORK )
|
||||
set_target_properties ( libfluidsynth
|
||||
PROPERTIES
|
||||
|
|
Loading…
Reference in a new issue