-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
Conversation
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.
/cc @cenit |
There was a problem hiding this 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/
Depends on #22984 |
There was a problem hiding this 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/
Resolves #22980
#12785 Added a set of
CMAKE_CXX_STANDARD
in this CMake config which accidentally overwrites higher versions. Upstream already has atarget_compile_options
to do this the Right Way.This change:
vcpkg_cmake_config_fixup
.