https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254138
            Bug ID: 254138
           Summary: devel/cmake: aborts if CMAKE_CXX_STANDARD is set to
                    empty
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: k...@freebsd.org
          Reporter: ema...@freebsd.org
          Assignee: k...@freebsd.org
             Flags: maintainer-feedback?(k...@freebsd.org)

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)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to