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

[ranges-v3] Fix issues with ranges-v3 recipe in Conan 2.0 #14628

Merged
merged 2 commits into from
Dec 13, 2022

Conversation

jcar87
Copy link
Contributor

@jcar87 jcar87 commented Dec 7, 2022

Specify library name and version: ranges-v3/all

Small fixes to support Conan v2

  • Use is_msvc to check for the Visual C++ compiler instead of testing for the compiler name, as Conan 2 will raise an error since Visual Studio was removed in favour of msvc
  • Use self.output.warning instead of warn which is no longer in conan 2

@jcar87 jcar87 changed the title Fix issues with ranges-v3 recipe in Conan 2.0 [ranges-v3] Fix issues with ranges-v3 recipe in Conan 2.0 Dec 7, 2022
danimtb
danimtb previously approved these changes Dec 7, 2022
prince-chrismc
prince-chrismc previously approved these changes Dec 7, 2022
jwillikers
jwillikers previously approved these changes Dec 7, 2022
@prince-chrismc prince-chrismc dismissed stale reviews from jwillikers, danimtb, and themself via 872b0c7 December 7, 2022 20:58
Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com>
@@ -67,7 +69,7 @@ def package(self):
def package_info(self):
self.cpp_info.components["range-v3-meta"].names["cmake_find_package"] = "meta"
Copy link
Contributor

Choose a reason for hiding this comment

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

I see that target names of components are wrong in CMakeDeps

@prince-chrismc
Copy link
Contributor

#12888

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline

All green in build 2 (872b0c7cc712c493336df3a5e1d82ac53b7fde96):

  • range-v3/0.12.0@:
    All packages built successfully! (All logs)

  • range-v3/0.10.0@:
    All packages built successfully! (All logs)

  • range-v3/0.11.0@:
    All packages built successfully! (All logs)

  • range-v3/0.9.1@:
    All packages built successfully! (All logs)

  • range-v3/0.5.0@:
    All packages built successfully! (All logs)

  • range-v3/0.3.7@:
    All packages built successfully! (All logs)

  • range-v3/0.4.0@:
    All packages built successfully! (All logs)

Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

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

LGTM

@conan-center-bot conan-center-bot merged commit f399d19 into conan-io:master Dec 13, 2022
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.

7 participants