FreeBSD Bugzilla – Attachment 162078 Details for
Bug 203793
Fix devel/cmake-modules so it prefers "c++" over "CC" for compiling C++ programs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix devel/cmake-modules to it prefers "c++" over "CC" for compiling C++ programs
devel__cmake-modules-fix-c++-detection-1.diff (text/plain), 1.88 KB, created by
Dimitry Andric
on 2015-10-15 17:52:44 UTC
(
hide
)
Description:
Fix devel/cmake-modules to it prefers "c++" over "CC" for compiling C++ programs
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2015-10-15 17:52:44 UTC
Size:
1.88 KB
patch
obsolete
>Index: devel/cmake/files/patch-Modules_CMakeDetermineCXXCompiler.cmake >=================================================================== >--- devel/cmake/files/patch-Modules_CMakeDetermineCXXCompiler.cmake (revision 0) >+++ devel/cmake/files/patch-Modules_CMakeDetermineCXXCompiler.cmake (working copy) >@@ -0,0 +1,20 @@ >+--- Modules/CMakeDetermineCXXCompiler.cmake.orig 2015-10-15 17:04:31.492559000 +0200 >++++ Modules/CMakeDetermineCXXCompiler.cmake 2015-10-15 17:12:06.940167000 +0200 >+@@ -35,7 +35,7 @@ >+ # Load system-specific compiler preferences for this language. >+ include(Platform/${CMAKE_SYSTEM_NAME}-CXX OPTIONAL) >+ if(NOT CMAKE_CXX_COMPILER_NAMES) >+- set(CMAKE_CXX_COMPILER_NAMES CC) >++ set(CMAKE_CXX_COMPILER_NAMES c++) >+ endif() >+ >+ if(${CMAKE_GENERATOR} MATCHES "Visual Studio") >+@@ -66,7 +66,7 @@ >+ >+ # finally list compilers to try >+ if(NOT CMAKE_CXX_COMPILER_INIT) >+- set(CMAKE_CXX_COMPILER_LIST CC ${_CMAKE_TOOLCHAIN_PREFIX}c++ ${_CMAKE_TOOLCHAIN_PREFIX}g++ aCC cl bcc xlC clang++) >++ set(CMAKE_CXX_COMPILER_LIST ${_CMAKE_TOOLCHAIN_PREFIX}c++ ${_CMAKE_TOOLCHAIN_PREFIX}g++ cl bcc xlC clang++ CC aCC) >+ endif() >+ >+ _cmake_find_compiler(CXX) > >Property changes on: devel/cmake/files/patch-Modules_CMakeDetermineCXXCompiler.cmake >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: devel/cmake-modules/Makefile >=================================================================== >--- devel/cmake-modules/Makefile (revision 399087) >+++ devel/cmake-modules/Makefile (working copy) >@@ -1,7 +1,7 @@ > # Created by: gahr > # $FreeBSD$ > >-PORTREVISION= 0 >+PORTREVISION= 1 > PKGNAMESUFFIX= -modules > > COMMENT= Modules and Templates for CMake
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 203793
: 162078