[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [libstreamanalyzer] cmake
From:       Patrick von Reth <patrick.vonreth () gmail ! com>
Date:       2011-01-22 15:13:17
Message-ID: 20110122151317.95163A6092 () git ! kde ! org
[Download RAW message or body]

Git commit a72492747119c3ddae24f270add72104e86d8d9f by Patrick von Reth
Pushed by vonreth into branch master

fixed build with ccache (CC=ccache gcc.exe)

M  +1    -1    cmake/MacroCheckGccVisibility.cmake     

http://commits.kde.org/cd3d74b5/a72492747119c3ddae24f270add72104e86d8d9f

diff --git a/cmake/MacroCheckGccVisibility.cmake \
b/cmake/MacroCheckGccVisibility.cmake index 48d2446..4e78d12 100644
--- a/cmake/MacroCheckGccVisibility.cmake
+++ b/cmake/MacroCheckGccVisibility.cmake
@@ -13,7 +13,7 @@ macro(MACRO_CHECK_GCC_VISIBILITY GccVisibility)
    check_cxx_compiler_flag(-fvisibility=hidden ${GccVisibility})
 
    # get the gcc version
-   exec_program(${CMAKE_C_COMPILER} ARGS --version OUTPUT_VARIABLE \
_gcc_version_info) +   exec_program(${CMAKE_C_COMPILER} ARGS ${CMAKE_C_COMPILER_ARG1} \
--version OUTPUT_VARIABLE _gcc_version_info)  
    string (REGEX MATCH "[345]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}")
    # gcc on mac just reports: "gcc (GCC) 3.3 20030304 ..." without the patch level, \
handle this here:


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic