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
how to pass cmake configure param #530
Comments
You can use this instead: CPMAddPackage(
NAME yaml-cpp
GITHUB_REPOSITORY jbeder/yaml-cpp
GIT_TAG 0.8.0
OPTIONS
"YAML_CPP_BUILD_TESTS OFF"
"YAML_CPP_BUILD_TOOLS OFF"
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: