Commit 354e509e authored by Tom Finegan's avatar Tom Finegan

Set CONFIG_GCC correctly in the cmake build.

BUG=https://bugs.chromium.org/p/aomedia/issues/detail?id=76

Change-Id: I70539530b5db7f971928706122626d524a8fae61
parent 9e6a9607
......@@ -112,6 +112,10 @@ else ()
# Flag(s) added here negate CMake defaults and produce build output similar
# to the existing configure/make build system.
add_compiler_flag_if_supported("-Wno-unused-function")
if (CMAKE_C_COMPILER_ID MATCHES "GNU\|Clang")
set(CONFIG_GCC 1)
endif ()
endif ()
# Test compiler support.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment