summaryrefslogtreecommitdiffstats
path: root/third_party/aom/build/cmake/compiler_tests.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/aom/build/cmake/compiler_tests.cmake')
-rw-r--r--third_party/aom/build/cmake/compiler_tests.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/aom/build/cmake/compiler_tests.cmake b/third_party/aom/build/cmake/compiler_tests.cmake
index e763597a2..89f0bc12c 100644
--- a/third_party/aom/build/cmake/compiler_tests.cmake
+++ b/third_party/aom/build/cmake/compiler_tests.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_TESTS_CMAKE_)
+set(AOM_BUILD_CMAKE_COMPILER_TESTS_CMAKE_ 1)
+
include(CheckCSourceCompiles)
include(CheckCXXSourceCompiles)
@@ -131,3 +134,5 @@ function (aom_get_inline result)
set(${result} "__inline" PARENT_SCOPE)
endif ()
endfunction ()
+
+endif () # AOM_BUILD_CMAKE_COMPILER_TESTS_CMAKE_