Bugzilla Automation <bugzi...@freebsd.org> has asked freebsd-kde (Team) <k...@freebsd.org> for maintainer-feedback: Bug 254138: devel/cmake: aborts if CMAKE_CXX_STANDARD is set to empty https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254138
--- Description --- While trying to convert a CI config for some 3rd party software I ended up accidentally setting -DCMAKE_CXX_STANDARD= (i.e., nothing). cmake ought to emit a useful error message for this case, but instead just aborts: $ cmake -GNinja -DCMAKE_CXX_STANDARD= .. -- The CXX compiler identification is Clang 11.0.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done Abort trap (core dumped)