Set output name correctly for OS/2

OS/2 has a DLL name length limit up to 8 characters.
This commit is contained in:
KO Myung-Hun 2014-03-15 21:20:51 +09:00 committed by David Henningsson
parent c6b81a4041
commit f10478b30b

View file

@ -264,6 +264,14 @@ if ( MACOSX_FRAMEWORK )
VERSION ${LIB_VERSION_INFO}
SOVERSION ${LIB_VERSION_CURRENT}
)
elseif ( OS2 )
set_target_properties ( libfluidsynth
PROPERTIES
OUTPUT_NAME "fluidsyn"
ARCHIVE_OUTPUT_NAME "fluidsynth"
VERSION ${LIB_VERSION_INFO}
SOVERSION ${LIB_VERSION_CURRENT}
)
else ( MACOSX_FRAMEWORK )
set_target_properties ( libfluidsynth
PROPERTIES