summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorAdriaan de Groot <groot@kde.org>2017-09-20 08:52:29 (GMT)
committerAdriaan de Groot <groot@kde.org>2017-09-20 08:52:29 (GMT)
commita0508dee933fd4dca1020e54299844cd65a13fe2 (patch)
tree75b22531c9d2df836cca92764485f8292d353752 /Modules/Platform
parent33ead73d731c93399dba5da5bc299f3ca32beb45 (diff)
downloadCMake-a0508dee933fd4dca1020e54299844cd65a13fe2.zip
CMake-a0508dee933fd4dca1020e54299844cd65a13fe2.tar.gz
CMake-a0508dee933fd4dca1020e54299844cd65a13fe2.tar.bz2
FreeBSD prefers to call the C++ compiler c++ (just like Linux, Darwin, ..)
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/FreeBSD-Determine-CXX.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Platform/FreeBSD-Determine-CXX.cmake b/Modules/Platform/FreeBSD-Determine-CXX.cmake
new file mode 100644
index 0000000..b594dae
--- /dev/null
+++ b/Modules/Platform/FreeBSD-Determine-CXX.cmake
@@ -0,0 +1,3 @@
+if(NOT CMAKE_CXX_COMPILER_NAMES)
+ set(CMAKE_CXX_COMPILER_NAMES c++)
+endif()