[Bug 203793] Fix devel/cmake-modules so it prefers "c++" over "CC" for compiling C++ programs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jun 15 10:02:09 UTC 2017


groot at kde.org changed:

           What    |Removed                     |Added
                 CC|                            |groot at kde.org

--- Comment #8 from groot at kde.org ---
The very old CMake commit referenced here does two things:
 - defaults the C++ compiler to "CC" if nothing else sets it up
 - sets up linux, and a bunch of others, to use g++ or c++

A simple and straightforward way to avoid the use of CC as C++ compiler, is to
add FreeBSD to the family of platforms that take the second path. This is 3
lines of CMake code in Modules/Platforms.

I've got this lined up for the (future) CMake 3.9 update, and will try to
upstream it as well.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the kde-freebsd mailing list