-
-
Notifications
You must be signed in to change notification settings - Fork 139
Open
Description
Currently the build system hard-requires C++11:
target_compile_features(
${target_name}
PRIVATE cxx_std_11
)
When using C++20 modules, this forces CMake to downgrade the target unless I manually change it to cxx_std_20.
Could the required standard be exposed as a configurable option (similar to LIBASSERT_DESIRED_CXX_STANDARD), so projects can set their desired C++ version?
Article on the issue:
https://crascit.com/2024/04/04/cxx-modules-cmake-shared-libraries/
Metadata
Metadata
Assignees
Labels
No labels