vcpkg/ports/rtmidi/fix-cmake-install.patch
Jia Yue Hua 50c4dd79c6
[rtmidi] Fix include path (#33971)
* [rtmidi] Fix include path

* fix deps
2023-09-25 23:41:40 -07:00

14 lines
601 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e6af930..f3eadf2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -191,7 +191,7 @@ set_target_properties(rtmidi PROPERTIES
target_include_directories(rtmidi PRIVATE ${INCDIRS}
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
- $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
+ $<INSTALL_INTERFACE:include>)
# Set compile-time definitions
target_compile_definitions(rtmidi PRIVATE ${API_DEFS})