Skip to content

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

Merged
BillyONeal merged 2 commits intomicrosoft:masterfrom
BillyONeal:ceres
Feb 9, 2022
Merged

[ceres] Don't force C++14 on downstream customers.#22983
BillyONeal merged 2 commits intomicrosoft:masterfrom
BillyONeal:ceres

Conversation

@BillyONeal
Copy link
Copy Markdown
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 labels Feb 7, 2022
@BillyONeal
Copy link
Copy Markdown
Member Author

/cc @cenit

Copy link
Copy Markdown

@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:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. 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:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. labels Feb 8, 2022
@BillyONeal
Copy link
Copy Markdown
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
Copy Markdown

@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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ceres] Should not set CMAKE_CXX_STANDARD

3 participants