Skip to content

Conversation

autoantwort
Copy link
Contributor

Fixes #2295.

The current code was introduced in b31800c, it is not obvious to my why. One could simply set CMAKE_CXX_STANDARD to the c++ version ones want. This also works for c++latest.

With target_compile_features every body uses at least c++20, one can use CMAKE_CXX_STANDARD to choose a different version and consumers also can choose the version they want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

A problem with VC++ and vcpkg due to setting C++ standard as public compile option for Folly::folly target
1 participant