File: 00_cmake.diff

package info (click to toggle)
portmidi 2%3A2.0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,420 kB
  • sloc: ansic: 8,731; java: 872; cpp: 488; makefile: 45; sh: 1
file content (11 lines) | stat: -rw-r--r-- 397 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,6 +6,8 @@ cmake_minimum_required(VERSION 3.21)
 # (ALSA::ALSA new in 3.12 and used in pm_common/CMakeLists.txt)
 # Some Java stuff failed on 3.17 but works with 3.20+
 
+include(GNUInstallDirs)
+
 cmake_policy(SET CMP0091 NEW) # enables MSVC_RUNTIME_LIBRARY target property
 
 # Previously, PortMidi versions were simply SVN commit version numbers.