From a0508dee933fd4dca1020e54299844cd65a13fe2 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Wed, 20 Sep 2017 10:52:29 +0200 Subject: FreeBSD prefers to call the C++ compiler c++ (just like Linux, Darwin, ..) --- Modules/Platform/FreeBSD-Determine-CXX.cmake | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 Modules/Platform/FreeBSD-Determine-CXX.cmake 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() -- cgit v0.12