summaryrefslogtreecommitdiffstats
path: root/devel/cmake/files/patch-Modules_Platform_FreeBSD-CXX.cmake
blob: 62bfa17b9159c9fb7d076f0fc74ef3f38d7cedb4 (plain)
1
2
3
4
5
6
7
8
This prefers c++ over CC as the C++ compiler command. See PR 203793.

--- Modules/Platform/FreeBSD-CXX.cmake.orig	2017-06-14 21:54:30 UTC
+++ Modules/Platform/FreeBSD-CXX.cmake
@@ -0,0 +1,3 @@
+if(NOT CMAKE_CXX_COMPILER_NAMES)
+  set(CMAKE_CXX_COMPILER_NAMES c++)
+endif()
OpenPOWER on IntegriCloud