-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modernize rtmidi for conan v2 #9644
Conversation
This comment has been minimized.
This comment has been minimized.
And CMake names? Also I see no difference in conanfile between 4.x.x & all folders, they should be merged to avoid extra maintenance. |
This comment has been minimized.
This comment has been minimized.
Co-authored-by: SpaceIm <[email protected]>
This comment has been minimized.
This comment has been minimized.
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} | ||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} | ||
- PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) | ||
+ PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/rtmidi) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This patch is useless, include convention in CMake config file for 5.0.0 is broken: thestk/rtmidi#285
You should set includedirs
in package_info()
to os.path.join("include", "rtmidi")
for 5.0.0 (or patch install destination of headers in 5.0.0), and update test package accordingly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done here: 31a493f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, you just have to update include in test package now
This comment has been minimized.
This comment has been minimized.
Co-authored-by: SpaceIm <[email protected]>
Specify library name and version: lib/1.0
This is also a good place to share with all of us why you are submitting this PR (specially if it is a new addition to ConanCenter): is it a dependency of other libraries you want to package? Are you the author of the library? Thanks!
conan-center hook activated.