|
Lines 222-228
check_type_size(clock_t CLOCK_T)
Link Here
|
| 222 |
# Get the GCC version - from KDE4 cmake files |
222 |
# Get the GCC version - from KDE4 cmake files |
| 223 |
if(CMAKE_COMPILER_IS_GNUCXX) |
223 |
if(CMAKE_COMPILER_IS_GNUCXX) |
| 224 |
exec_program(${CMAKE_C_COMPILER} ARGS --version OUTPUT_VARIABLE _gcc_version_info) |
224 |
exec_program(${CMAKE_C_COMPILER} ARGS --version OUTPUT_VARIABLE _gcc_version_info) |
| 225 |
string(REGEX MATCH "[345]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}") |
225 |
string(REGEX MATCH "[34567]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}") |
| 226 |
# gcc on mac just reports: "gcc (GCC) 3.3 20030304 ..." without the |
226 |
# gcc on mac just reports: "gcc (GCC) 3.3 20030304 ..." without the |
| 227 |
# patch level, handle this here: |
227 |
# patch level, handle this here: |
| 228 |
if (NOT _gcc_version) |
228 |
if (NOT _gcc_version) |