Lines 239-245
check_type_size(clock_t CLOCK_T)
Link Here
|
239 |
# Get the GCC version - from KDE4 cmake files |
239 |
# Get the GCC version - from KDE4 cmake files |
240 |
if(CMAKE_COMPILER_IS_GNUCXX) |
240 |
if(CMAKE_COMPILER_IS_GNUCXX) |
241 |
exec_program(${CMAKE_C_COMPILER} ARGS --version OUTPUT_VARIABLE _gcc_version_info) |
241 |
exec_program(${CMAKE_C_COMPILER} ARGS --version OUTPUT_VARIABLE _gcc_version_info) |
242 |
string(REGEX MATCH "[345678]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}") |
242 |
string(REGEX MATCH "[3456789]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}") |
243 |
# gcc on mac just reports: "gcc (GCC) 3.3 20030304 ..." without the |
243 |
# gcc on mac just reports: "gcc (GCC) 3.3 20030304 ..." without the |
244 |
# patch level, handle this here: |
244 |
# patch level, handle this here: |
245 |
if (NOT _gcc_version) |
245 |
if (NOT _gcc_version) |