diff -waur portmidi.orig/pm_common/CMakeLists.txt portmidi/pm_common/CMakeLists.txt
--- portmidi.orig/pm_common/CMakeLists.txt	2010-09-20 21:57:48.000000000 +0200
+++ portmidi/pm_common/CMakeLists.txt	2015-05-22 20:36:22.411620600 +0200
@@ -106,7 +106,7 @@
 
 # now add the shared files to make the complete list of library sources
 add_library(portmidi-static ${LIBSRC})
-set_target_properties(portmidi-static PROPERTIES OUTPUT_NAME "portmidi_s")
+set_target_properties(portmidi-static PROPERTIES OUTPUT_NAME "portmidi")
 target_link_libraries(portmidi-static ${PM_NEEDED_LIBS})
 
 # define the jni library
@@ -124,4 +118,9 @@
 # .h files installed by pm_dylib/CMakeLists.txt, so don't need them here
 #  INSTALL(FILES portmidi.h ../porttime/porttime.h
 #    DESTINATION /usr/local/include)
+else(UNIX)
+  INSTALL(TARGETS portmidi-static pmjni
+    RUNTIME DESTINATION bin
+    LIBRARY DESTINATION lib
+    ARCHIVE DESTINATION lib)
 endif(UNIX)
diff -waur portmidi.orig/pm_dylib/CMakeLists.txt portmidi/pm_dylib/CMakeLists.txt
--- portmidi.orig/pm_dylib/CMakeLists.txt	2009-11-20 06:41:09.000000000 +0100
+++ portmidi/pm_dylib/CMakeLists.txt	2015-05-22 20:36:15.356939500 +0200
@@ -124,4 +124,11 @@
     ARCHIVE DESTINATION /usr/local/lib)
   INSTALL(FILES ../pm_common/portmidi.h ../porttime/porttime.h
     DESTINATION /usr/local/include)
+else(UNIX)
+  INSTALL(TARGETS portmidi-dynamic
+    RUNTIME DESTINATION bin
+    LIBRARY DESTINATION lib
+    ARCHIVE DESTINATION lib)
+  INSTALL(FILES ../pm_common/portmidi.h ../porttime/porttime.h
+    DESTINATION include)
 endif(UNIX)
