Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 594154
Collapse All | Expand All

(-)a/old/CMakeLists.txt (-1 / +1 lines)
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)

Return to bug 594154