Calling target_compile_features with a cxx feature on a C project cause segfault
Not a big deal, but not how I'd expect Cmake to handle this scenario.
cmake version 3.8.1, OSX 10.12.5
CMakeLists.txt:
cmake_minimum_required(VERSION 3.8.1)
project(Example LANGUAGES C)
add_library(Example dummy.c)
target_compile_features(Example PRIVATE cxx_enum_forward_declarations)
Result: Segmentation fault: 11
Edited by Alex Tennant