summaryrefslogtreecommitdiffstats
path: root/third_party/aom/build/cmake/compiler_flags.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/aom/build/cmake/compiler_flags.cmake')
-rw-r--r--third_party/aom/build/cmake/compiler_flags.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/aom/build/cmake/compiler_flags.cmake b/third_party/aom/build/cmake/compiler_flags.cmake
index beb217abc..c9fc69b92 100644
--- a/third_party/aom/build/cmake/compiler_flags.cmake
+++ b/third_party/aom/build/cmake/compiler_flags.cmake
@@ -8,6 +8,9 @@
## Media Patent License 1.0 was not distributed with this source code in the
## PATENTS file, you can obtain it at www.aomedia.org/license/patent.
##
+if (NOT AOM_BUILD_CMAKE_COMPILER_FLAGS_CMAKE_)
+set(AOM_BUILD_CMAKE_COMPILER_FLAGS_CMAKE_ 1)
+
include(CheckCCompilerFlag)
include(CheckCXXCompilerFlag)
@@ -216,3 +219,5 @@ function (append_exe_linker_flag flag)
"" FORCE)
endif ()
endfunction ()
+
+endif () # AOM_BUILD_CMAKE_COMPILER_FLAGS_CMAKE_