[Bug 254138] devel/cmake: aborts if CMAKE_CXX_STANDARD is set to empty
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Mar 8 18:16:31 GMT 2021
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: kde at FreeBSD.org
Reporter: emaste at freebsd.org
Assignee: kde at FreeBSD.org
Flags: maintainer-feedback?(kde at 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.
More information about the kde-freebsd
mailing list