ports/devel/cmake/files/patch-Modules_Platform_FreeBSD-CXX.cmake
Adriaan de Groot e95a728619 Update CMake to 3.9.3
This includes the upstream patches for the new Boost version (PR 222207, r450301).
Thanks to antoine@ for the exp-run.

PR:		222513
Approved by:	rakuco (mentor), tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D12427
2017-10-01 16:26:39 +00:00

11 lines
360 B
CMake

This prefers c++ over CC as the C++ compiler command. See PR 203793.
Upstreamed as 6f666f4335c7f6b44fc4ccdc886590094fdfa16d
Will be included in CMake 3.10
--- 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()