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

Remove manually specified settings from auto list #258

Merged
merged 7 commits into from
Sep 3, 2020

Conversation

czoido
Copy link
Contributor

@czoido czoido commented Jun 30, 2020

Manual settings were added in the end to automatic CMake settings, so they were not taken into account because only the first one was considered by CMake.
This PR removes the MANUAL settings from the AUTO list of added settings from CMake so that they are not added twice.

Fixes: #255

@czoido czoido changed the title remove manually specified settings from auto list Remove manually specified settings from auto list Jun 30, 2020
smessmer added a commit to cryfs/cryfs that referenced this pull request Jul 1, 2020
…b4e22b3ae4): Make "SETTINGS compiler.libcxx=libstdc++11" do the right thing (see conan-io/cmake-conan#255)
@czoido czoido closed this Jul 10, 2020
@czoido czoido reopened this Jul 10, 2020
@czoido czoido added this to the 0.16 milestone Jul 10, 2020
@czoido czoido requested a review from memsharded July 10, 2020 15:38
@@ -229,6 +229,13 @@ function(conan_cmake_settings result)
compiler.runtime compiler.libcxx compiler.toolset)
endif()

# remove any manually specified settings from the autodetected settings
foreach(ARG ${ARGUMENTS_SETTINGS})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A test would be great.

@memsharded memsharded merged commit cf7110d into conan-io:develop Sep 3, 2020
@czoido czoido mentioned this pull request Sep 3, 2020
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.

conan_cmake_run(SETTINGS compiler.libcxx=libstdc++11) causes setting to be passed twice
2 participants