Lines 69-75
Link Here
|
69 |
# Now check if we can use visibility to selectively export symbols |
69 |
# Now check if we can use visibility to selectively export symbols |
70 |
# Get the GCC version - from KDE4 cmake files |
70 |
# Get the GCC version - from KDE4 cmake files |
71 |
exec_program(${CMAKE_C_COMPILER} ARGS --version OUTPUT_VARIABLE _gcc_version_info) |
71 |
exec_program(${CMAKE_C_COMPILER} ARGS --version OUTPUT_VARIABLE _gcc_version_info) |
72 |
string (REGEX MATCH "[345]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}") |
72 |
string (REGEX MATCH "[3456]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}") |
73 |
# gcc on mac just reports: "gcc (GCC) 3.3 20030304 ..." without the |
73 |
# gcc on mac just reports: "gcc (GCC) 3.3 20030304 ..." without the |
74 |
# patch level, handle this here: |
74 |
# patch level, handle this here: |
75 |
if (NOT _gcc_version) |
75 |
if (NOT _gcc_version) |