ports/devel/cmake/files/patch-Modules_Platform_FreeBSD-CXX.cmake
Adriaan de Groot c91270bd8d Update CMake to 3.9, merge devel/cmake-modules into devel/cmake
Thanks to antoine@ for the exp-run.

Approved by:		rakuco (mentor)
Reviewed by:		tcberner (mentor)
Reviewed by:		mat
PR:			222000 (exp-run)
Differential Revision:	https://reviews.freebsd.org/D12299
2017-09-14 21:02:51 +00:00

8 lines
273 B
CMake

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()