pineapple-src/externals/vcpkg/ports/rtmidi/fix-cmake-usage.patch
2022-07-23 03:01:36 +02:00

32 lines
1,001 B
Diff
Executable file

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}"
)