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 missing = in profile command line argument #165

Merged
merged 1 commit into from
Jul 29, 2019

Conversation

tkhyn
Copy link
Contributor

@tkhyn tkhyn commented Jul 27, 2019

Adding this = after -pr enables the PROFILE passed to conan_cmake_run to be used. Previously (at least on my Windows test machine), the PROFILE was not taken into account and conan was running with the default profile. Now the profile used is the correct one.

Note: this makes the treatment of the -pr argument consistent with other conan.cmake-injected arguments such as -g or --build, which both have an = sign.

Adding this `=` after `-pr` enables the PROFILE passed to conan_cmake_run to be used. Previously (at least on my Windows test machine), the PROFILE was not taken into account and conan was running with the default profile. Now the profile used is the correct one.
@CLAassistant
Copy link

CLAassistant commented Jul 27, 2019

CLA assistant check
All committers have signed the CLA.

@memsharded memsharded added this to the 0.15 milestone Jul 29, 2019
@memsharded memsharded merged commit 1b2face into conan-io:develop Jul 29, 2019
@memsharded
Copy link
Member

Thanks for fixing this! Will be in next 0.15 release.

wawa19933 pushed a commit to wawa19933/cmake-conan that referenced this pull request Mar 19, 2020
add missing `=` in profile command line argument
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

Successfully merging this pull request may close these issues.

3 participants