[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[fluid-dev] [PATCH 2/2] Set output name correctly for OS/2
From: |
KO Myung-Hun |
Subject: |
[fluid-dev] [PATCH 2/2] Set output name correctly for OS/2 |
Date: |
Sat, 15 Mar 2014 21:20:51 +0900 |
OS/2 has a DLL name length limit up to 8 characters.
---
fluidsynth/src/CMakeLists.txt | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/fluidsynth/src/CMakeLists.txt b/fluidsynth/src/CMakeLists.txt
index 94464e4..e60037a 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
--
1.7.3.2