-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[imgui] Fix deps of feature allegro5-binding #31871
Conversation
find_path(ALLEGRO5_INCLUDE_DIRS allegro5/allegro.h) | ||
target_include_directories(${PROJECT_NAME} PRIVATE ${ALLEGRO5_INCLUDE_DIRS}) | ||
find_package(unofficial-allegro5 CONFIG REQUIRED) | ||
target_link_libraries(${PROJECT_NAME} PRIVATE unofficial-allegro5::allegro unofficial-allegro5::allegro_ttf unofficial-allegro5::allegro_font unofficial-allegro5::allegro_main) |
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.
These target don't use the proper unofficial::allegro5::
namespace.
IIUC no targets were exported by allegro5 until now, so the time to fix allegro5 is now.
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.
BTW are all these link libraries needed here? unofficial-allegro5::allegro_main
doesn't add another main
function?
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.
I think this got merged to master already
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.
I know, but it is only a few hours, and such mistakes have been fixed in the past.
It really sucks if there is neither enough time for review, nor enough quality.
* [imgui] Fix feature allegro5-binding deps * update version * Update imgui.json
Fixes #17058
allegro5
targets.allegro5
ofimgui[allegro5-binding]
.Usage test pass on
x64-linux
.The test codes from #17125 (comment) passed on
x64-linux
.SHA512s are updated for each updated downloadThe "supports" clause reflects platforms that may be fixed by this new versionAny fixed CI baseline entries are removed from that file.Any patches that are no longer applied are deleted from the port's directory../vcpkg x-add-version --all
and committing the result.