-
Notifications
You must be signed in to change notification settings - Fork 989
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
Question: Can we override cmake path? #4379
Comments
Hi @nesc1 |
Thanks @SSE4 , so for now i can assume that i need to use self.run('path/to/cmake ...') right? There is no profile environment ([env]) like for example CONAN_CMAKE_GENERATOR to override the default generator? |
yes, I believe until next release, there is no variable to do this. you probably may try to change PATH, so it has custom CMake path before others. |
Thanks @SSE4 for the quick reply (would not it be also useful to be possible to define it on a profile, something like CONAN_CMAKE_CMAKE... or something like that?) |
Have you tried to customize the PATH in the profile, or just play with the PATH system env-var? Yes, the CONAN_CMAKE_PROGRAM will be possible to set it in a profile. That is merged, you might try to run from latest develop release in TestPyPI: $ pip install --index-url https://test.pypi.org/simple/ conan |
Thank you @memsharded, i will try both suggestions. |
Hi, quick question, can we override cmake path in a profile or something like that or we need to do the following in order to execute a cmake that is not on the path:
Thanks
The text was updated successfully, but these errors were encountered: