This can be used to set the compiler features required by particular targets. An error is issued at CMake time if the compiler does not support the required feature. If a language dialect flag is required by the features used, that will be added automatically. Base the target_compile_features command on cmTargetPropCommandBase. This gives us 'free' handling of IMPORTED, ALIAS, INTERFACE, non-compilable and missing targets.
9 lines
255 B
Plaintext
9 lines
255 B
Plaintext
CMake Error at no_matching_cxx_feature.cmake:[0-9][0-9]? \((target_compile_features|message)\):
|
|
The compiler feature "[^"]+" is not known to compiler
|
|
|
|
"[^"]*"
|
|
|
|
version *[.0-9]+\.
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:3 \(include\)
|