summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-09-21 12:25:19 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-09-21 12:25:23 (GMT)
commit6f666f4335c7f6b44fc4ccdc886590094fdfa16d (patch)
tree271909a4b396fa3733204acb4fe0b3316d48dbb2 /Modules/Platform
parent5737bb37562007b571cd6b4f94bf4d2f2f038136 (diff)
parent3cf3bb71f403475ef0ac3fd02697b0a9d5f1ad03 (diff)
downloadCMake-6f666f4335c7f6b44fc4ccdc886590094fdfa16d.zip
CMake-6f666f4335c7f6b44fc4ccdc886590094fdfa16d.tar.gz
CMake-6f666f4335c7f6b44fc4ccdc886590094fdfa16d.tar.bz2
Merge topic 'freebsd-compiler-name'
3cf3bb71 Help: Add notes for topic 'freebsd-compiler-name' a0508dee FreeBSD prefers to call the C++ compiler c++ (just like Linux, Darwin, ..) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1293
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()