Skip to content

README says to use cmake, but that fails and meson works #13

@gdt

Description

@gdt

Building 0.5.1 under pkgsrc (which tries hard to hide everything not declared as a dependency), cmake tries to run a c++ compiler, which is essentially aliased to false (because C++ is not declared as used, because the README doesn't say you need it). Reading build files harder, it seems c++ really isn't needed.

I flipped to use meson, because obviously that's where y'all are headed, and it worked fine, just complaining (correctly) about dependencies I hadn't put in the control file. Tests pass on NetBSD 10 amd64.

I don't know if you want a more serious bug report about cmake invoking a c++ compiler, or if you want to say that meson is the standard approach. Personally I find having both confusing, and meson seems to work and was low-hassle during packaging.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions