Skip to content
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

[lunasvg] Add cmake usage #132

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JonLiu1993
Copy link

Related issue microsoft/vcpkg#30196, unasvg does not export anything after installation, Add usage for port lunasvg.
Tested the usage via vcpkg successfully by lunasvg:x64-windows:

lunasvg provides CMake targets:

    # this is heuristically generated, and may not be correct
    find_package(unofficial-lunasvg CONFIG REQUIRED)
    target_link_libraries(main PRIVATE unofficial::lunasvg::lunasvg)

@adamkewley
Copy link

I'm encountering a similar problem when building lunasvg via ExternalProject_Add for my project. Usage point here:

The way I am getting around it is to use a custom fork (this) with the changeset described in #138 applied to it.

The changeset here is probably more comprehensive than #138, because it includes describing the installation layout (whereas I'm assuming that the cmake default is going to be ok for downstream consumers)

👍 for writing this up - it's good to see alternate solutions to similar problems

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.

None yet

2 participants