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

Add ability to specify conan profile for conan invocations #82

Open
mustafakemalgilor opened this issue Sep 15, 2021 · 0 comments
Open
Labels
enhancement New feature or request
Milestone

Comments

@mustafakemalgilor
Copy link
Owner

mustafakemalgilor commented Sep 15, 2021

ATM, automatically fetched Conan packages use the system's default conan profile. This causes inconvenience to end user when the user decides to use a custom toolchain or custom build options with conan.

A simple conan profile parameter will suffice for satisfying this need.

set(HADOUKEN_CONAN_PROFILE_LINE "")
 conan_cmake_run(
        REQUIRES ${HADOUKEN_CONAN_GOOGLE_BENCHMARK_PKG_NAME}/${HADOUKEN_CONAN_GOOGLE_BENCHMARK_VERSION}
        GENERATORS cmake_find_package
        BUILD missing
       ${HADOUKEN_CONAN_PROFILE_LINE}
        OUTPUT_QUIET
    )
@mustafakemalgilor mustafakemalgilor self-assigned this Sep 15, 2021
@mustafakemalgilor mustafakemalgilor added the enhancement New feature or request label Sep 15, 2021
@mustafakemalgilor mustafakemalgilor added this to the 0.16.0 milestone Sep 15, 2021
@mustafakemalgilor mustafakemalgilor removed their assignment Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant