16 lines
480 B
Text
16 lines
480 B
Text
Index: CMakeLists.txt
|
|
--- CMakeLists.txt.orig
|
|
+++ CMakeLists.txt
|
|
@@ -73,5 +73,11 @@ add_subdirectory(pm_test)
|
|
add_subdirectory(pm_dylib)
|
|
|
|
# Cannot figure out how to make an xcode Java application with CMake
|
|
-add_subdirectory(pm_java)
|
|
+#add_subdirectory(pm_java)
|
|
|
|
+set(DEST_DIR "${CMAKE_INSTALL_PREFIX}")
|
|
+CONFIGURE_FILE("portmidi.pc.in" "portmidi.pc" @ONLY)
|
|
+install(FILES
|
|
+ "${CMAKE_CURRENT_BINARY_DIR}/portmidi.pc"
|
|
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig"
|
|
+)
|