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

CMake failed to find MXML #37

Closed
clementperon opened this issue Dec 7, 2022 · 3 comments
Closed

CMake failed to find MXML #37

clementperon opened this issue Dec 7, 2022 · 3 comments

Comments

@clementperon
Copy link
Contributor

clementperon commented Dec 7, 2022

Hi,

I'm trying to build gator 8.1.0 but Cmake complain that it can't find MXML

| CMake Error at CMakeLists.txt:67 (FIND_PACKAGE):
|   Could not find a package configuration file provided by "mxml" with any of
|   the following names:
| 
|     mxmlConfig.cmake
|     mxml-config.cmake

FIND_PACKAGE(mxml CONFIG REQUIRED)

Looking at the mxml library, but it looks like it doesn't support CMake build at the moment :

https://github.com/michaelrsweet/mxml
See: michaelrsweet/mxml#281

@bengaineyarm
Copy link
Contributor

Hi @clementperon thanks for this. I guess you are using system provided dependencies, rather than using vcpkg?

Presumably, if you are using your own dependency manager, you can provide mxml with iirc pkg-config configuration, or something like that... I expect we just need an

if (VCPKG) do x else do y

construct in the cmake to handle this case.

@bengaineyarm
Copy link
Contributor

@clementperon Are you able to let me know if this works for you: #39

bengaineyarm added a commit that referenced this issue Dec 19, 2022
Issue #37: Resolve MXML from target system by pkg-config when not usi…
@bengaineyarm
Copy link
Contributor

Resolved by #39

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

No branches or pull requests

2 participants