This is needed for the target_compile_features command, which may fail at configure time if an invalid feature is specified.