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

Automatically include CONAN_CMAKE_TOOLCHAIN_FILE #1

Open
peter-moran opened this issue Mar 23, 2019 · 1 comment
Open

Automatically include CONAN_CMAKE_TOOLCHAIN_FILE #1

peter-moran opened this issue Mar 23, 2019 · 1 comment
Assignees

Comments

@peter-moran
Copy link

This might seem silly, considering this generates toolchain files, but I think it would be helpful for the auto-generated toolchain file to include CONAN_CMAKE_TOOLCHAIN_FILE if the environment variable is provided.

This would allow toolchains providers who need to run additional cmake steps to include them in the CONAN_CMAKE_TOOLCHAIN_FILE, which will then help ensure that building via cmake and building via conan are the same.

In my use case, I would like to add:
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
conan-io/conan#4706

PS: thanks for making this toolchain generator is been very helpful

@pepe82sh
Copy link
Owner

Damn, I had no autoassign configured and received no notification at all regarding the existance of issues... Is it possible that I "accidentally" solved your issue in august? I'm not sure if I understand what you are trying to do.

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