taskwarrior/cmake
Kalle Kietäväinen 98204b17a6
Set CMake C++ standard (#3688)
Instead of setting `-std` compiler flag directly, set the
`CMAKE_CXX_STANDARD` variable. This lets CMake know the required C++
standard and evaluate the final compiler flag correctly, taking into
account compile features set by `target_compile_features()`.

This change preserves the existing behavior, where compiler extensions
are disabled for other targets than Cygwin.
2024-11-17 15:18:28 -05:00
..
CXXSniffer.cmake Set CMake C++ standard (#3688) 2024-11-17 15:18:28 -05:00