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

[ceres] Don't force C++14 on downstream customers. #22983

Merged
merged 2 commits into from
Feb 9, 2022

Conversation

BillyONeal
Copy link
Member

Resolves #22980

#12785 Added a set of CMAKE_CXX_STANDARD in this CMake config which accidentally overwrites higher versions. Upstream already has a target_compile_options to do this the Right Way.

This change:

  • Deletes the offending attempt to set CMAKE_CXX_STANDARD. Downstream users that don't listen to the INTERFACE_COMPILE_FEATURES need to be patched locally.
  • Modernizes to use vcpkg_cmake_Xxx.
  • Removes attempt to fix up paths that already appears handled by vcpkg_cmake_config_fixup.
  • Adds quotes.

Resolves microsoft#22980

microsoft#12785 Added a set of `CMAKE_CXX_STANDARD` in this CMake config which accidentally overwrites higher versions. Upstream already has a `target_compile_options` to do this the Right Way.

This change:
* Deletes the offending attempt to set CMAKE_CXX_STANDARD. Downstream users that don't listen to the INTERFACE_COMPILE_FEATURES need to be patched locally.
* Modernizes to use vcpkg_cmake_Xxx.
* Removes attempt to fix up paths that already appears handled by `vcpkg_cmake_config_fixup`.
* Adds quotes.
@BillyONeal BillyONeal added category:port-bug The issue is with a library, which is something the port should already support info:internal This PR or Issue was filed by the vcpkg team. labels Feb 7, 2022
@BillyONeal
Copy link
Member Author

/cc @cenit

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/ceres/vcpkg.json

Valid values for the license field are listed at https://spdx.org/licenses/

@LilyWangLL LilyWangLL added the info:reviewed Pull Request changes follow basic guidelines label Feb 8, 2022
@BillyONeal BillyONeal added depends:different-pr This PR or Issue depends on a PR which has been filed and removed info:reviewed Pull Request changes follow basic guidelines labels Feb 8, 2022
@BillyONeal
Copy link
Member Author

Depends on #22984

@BillyONeal BillyONeal removed the depends:different-pr This PR or Issue depends on a PR which has been filed label Feb 8, 2022
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/ceres/vcpkg.json

Valid values for the license field are listed at https://spdx.org/licenses/

@BillyONeal BillyONeal merged commit 122bdbc into microsoft:master Feb 9, 2022
@BillyONeal BillyONeal deleted the ceres branch February 9, 2022 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support info:internal This PR or Issue was filed by the vcpkg team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ceres] Should not set CMAKE_CXX_STANDARD
3 participants