diff options
Diffstat (limited to 'community/portmidi/30-porttime_cmake.patch')
-rw-r--r-- | community/portmidi/30-porttime_cmake.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/community/portmidi/30-porttime_cmake.patch b/community/portmidi/30-porttime_cmake.patch deleted file mode 100644 index f03e33fcaeb..00000000000 --- a/community/portmidi/30-porttime_cmake.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff --git a/porttime/CMakeLists.txt b/porttime/CMakeLists.txt -new file mode 100644 -index 0000000..7c4da89 ---- /dev/null -+++ b/porttime/CMakeLists.txt -@@ -0,0 +1,13 @@ -+if(UNIX) -+ list(APPEND LIBSRC ptlinux) -+ set(PM_NEEDED_LIBS pthread asound) -+ add_library(porttime SHARED ${LIBSRC}) -+ set_target_properties(porttime PROPERTIES VERSION "0.0.0" SOVERSION "0") -+ target_link_libraries(porttime ${PM_NEEDED_LIBS}) -+ add_library(porttime-static ${LIBSRC}) -+ set_target_properties(porttime-static PROPERTIES OUTPUT_NAME "porttime") -+ target_link_libraries(porttime-static ${PM_NEEDED_LIBS}) -+ INSTALL(TARGETS porttime porttime-static -+ LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" -+ ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}") -+endif(UNIX) -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 4919b78..08301a0 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -74,6 +74,8 @@ - - add_subdirectory(pm_dylib) - -+add_subdirectory(porttime) -+ - # Cannot figure out how to make an xcode Java application with CMake - add_subdirectory(pm_java) - |