Skip to content

Install legacy magic_enum.hpp compatibility shim - #472

Open
ezralicodes wants to merge 3 commits into
Neargye:masterfrom
ezralicodes:fix/install-shim-419
Open

Install legacy magic_enum.hpp compatibility shim#472
ezralicodes wants to merge 3 commits into
Neargye:masterfrom
ezralicodes:fix/install-shim-419

Conversation

@ezralicodes

Copy link
Copy Markdown

Fixes #419

Summary

  • Install a compatibility shim header at include/magic_enum.hpp that forwards to magic_enum/magic_enum.hpp.
  • Document the legacy include path for users upgrading from pre-0.9.7 layouts.

Test plan

  • cmake --install and verify both include/magic_enum/magic_enum.hpp and include/magic_enum.hpp exist.
  • Compile a consumer with #include <magic_enum.hpp> against the installed package.

Signed-off-by: ezralicodes <ezralicodes@users.noreply.github.com>
Signed-off-by: ezralicodes <ezralicodes@users.noreply.github.com>
Signed-off-by: ezralicodes <ezralicodes@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The binary installation and source code installation paths are different

1 participant