pineapple/externals/vcpkg/ports/rtmidi/fix-cmake-usage.patch

33 lines
1,001 B
Diff
Raw Normal View History

2022-07-23 03:01:36 +02:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 616fdaf..e6af930 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -280,7 +280,7 @@ include(CMakePackageConfigHelpers)
# Write cmake package version file
write_basic_package_version_file(
- RtMidi-config-version.cmake
+ rtmidi-config-version.cmake
VERSION ${FULL_VER}
COMPATIBILITY SameMajorVersion
)
@@ -288,15 +288,15 @@ write_basic_package_version_file(
# Write cmake package config file
configure_package_config_file (
cmake/RtMidi-config.cmake.in
- RtMidi-config.cmake
+ rtmidi-config.cmake
INSTALL_DESTINATION "${RTMIDI_CMAKE_DESTINATION}"
)
# Install package files
install (
FILES
- "${CMAKE_CURRENT_BINARY_DIR}/RtMidi-config.cmake"
- "${CMAKE_CURRENT_BINARY_DIR}/RtMidi-config-version.cmake"
+ "${CMAKE_CURRENT_BINARY_DIR}/rtmidi-config.cmake"
+ "${CMAKE_CURRENT_BINARY_DIR}/rtmidi-config-version.cmake"
DESTINATION
"${RTMIDI_CMAKE_DESTINATION}"
)