View | Details | Raw Unified | Return to bug 203793
Collapse All | Expand All

(-)devel/cmake/files/patch-Modules_CMakeDetermineCXXCompiler.cmake (+20 lines)
Line 0 Link Here
1
--- Modules/CMakeDetermineCXXCompiler.cmake.orig	2015-10-15 17:04:31.492559000 +0200
2
+++ Modules/CMakeDetermineCXXCompiler.cmake	2015-10-15 17:12:06.940167000 +0200
3
@@ -35,7 +35,7 @@
4
 # Load system-specific compiler preferences for this language.
5
 include(Platform/${CMAKE_SYSTEM_NAME}-CXX OPTIONAL)
6
 if(NOT CMAKE_CXX_COMPILER_NAMES)
7
-  set(CMAKE_CXX_COMPILER_NAMES CC)
8
+  set(CMAKE_CXX_COMPILER_NAMES c++)
9
 endif()
10
 
11
 if(${CMAKE_GENERATOR} MATCHES "Visual Studio")
12
@@ -66,7 +66,7 @@
13
 
14
     # finally list compilers to try
15
     if(NOT CMAKE_CXX_COMPILER_INIT)
16
-      set(CMAKE_CXX_COMPILER_LIST CC ${_CMAKE_TOOLCHAIN_PREFIX}c++ ${_CMAKE_TOOLCHAIN_PREFIX}g++ aCC cl bcc xlC clang++)
17
+      set(CMAKE_CXX_COMPILER_LIST ${_CMAKE_TOOLCHAIN_PREFIX}c++ ${_CMAKE_TOOLCHAIN_PREFIX}g++ cl bcc xlC clang++ CC aCC)
18
     endif()
19
 
20
     _cmake_find_compiler(CXX)
(-)devel/cmake-modules/Makefile (-1 / +1 lines)
Lines 1-7 Link Here
1
# Created by: gahr
1
# Created by: gahr
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTREVISION=	0
4
PORTREVISION=	1
5
PKGNAMESUFFIX=	-modules
5
PKGNAMESUFFIX=	-modules
6
6
7
COMMENT=	Modules and Templates for CMake
7
COMMENT=	Modules and Templates for CMake

Return to bug 203793