Skip to content

how to pass cmake configure param  #530

Open
@oskycar

Description

@oskycar

option (YAML_CPP_BUILD_TESTS "Build yaml-cpp tests" OFF)
option (YAML_CPP_BUILD_TOOLS "Build yaml-cpp tools" OFF)
CPMAddPackage("gh:jbeder/yaml-cpp#0.8.0")

I want to import yaml-cpp lib , but don't want to build the test code . but I can't find any way to do this . CPMAddPackage function has any params to config it . and do it as upper code also can't have any effect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions