Takashi Iwai
1fef4cf04d
- Switch build to cmake - add rtmidi-cmake.patch - Update to version 6.0.0 * run "git log 5.0.0..HEAD" to see commits since last release * new Android API (thanks to YellowLabrador!) * new Windows UWP API support (thanks to Masamichi Hosoda!) * various build system updates and code efficiencies OBS-URL: https://build.opensuse.org/request/show/1127582 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/rtmidi?expand=0&rev=6
23 lines
675 B
Diff
23 lines
675 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 3a85a03..867f179 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -2,7 +2,7 @@
|
|
# CopyPolicy: RtMidi license.
|
|
|
|
# Set minimum CMake required version for this project.
|
|
-cmake_minimum_required(VERSION 3.24 FATAL_ERROR)
|
|
+cmake_minimum_required(VERSION 3.20 FATAL_ERROR)
|
|
|
|
# Define a C++ project.
|
|
project(RtMidi LANGUAGES CXX C)
|
|
@@ -262,7 +262,7 @@ install(TARGETS ${LIB_TARGETS}
|
|
export(PACKAGE RtMidi)
|
|
|
|
# Set installation path for CMake files.
|
|
-set(RTMIDI_CMAKE_DESTINATION share/rtmidi)
|
|
+set(RTMIDI_CMAKE_DESTINATION ${CMAKE_MODULES_INSTALL_DIR})
|
|
|
|
# Export library target (build-tree).
|
|
export(EXPORT RtMidiTargets
|