vcpkg/ports/rtmidi/fix-cmake-usage.patch
Jack·Boos·Yu c34f577c4d
[rtmidi] Fix cmake usage (#24994)
* [rtmidi] Fix cmake usage

* version

* change to version

* version
2022-05-31 15:37:43 -07:00

33 lines
1001 B
Diff

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