From f10478b30b033618eec7226792e8eb8760b70117 Mon Sep 17 00:00:00 2001 From: KO Myung-Hun Date: Sat, 15 Mar 2014 21:20:51 +0900 Subject: [PATCH] Set output name correctly for OS/2 OS/2 has a DLL name length limit up to 8 characters. --- fluidsynth/src/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/fluidsynth/src/CMakeLists.txt b/fluidsynth/src/CMakeLists.txt index 94464e4a..e60037a9 100644 --- a/fluidsynth/src/CMakeLists.txt +++ b/fluidsynth/src/CMakeLists.txt @@ -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