Add include guards to CMake files used as includes.
BUG=aomedia:76
Change-Id: Ie34025f31a89f4991d03d5ecf03c6f6f5ab7b0a1
diff --git a/test/test.cmake b/test/test.cmake
index 4172c8b..d72a784 100644
--- a/test/test.cmake
+++ b/test/test.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_TEST_TEST_CMAKE_)
+set(AOM_TEST_TEST_CMAKE_ 1)
+
include(ProcessorCount)
include("${AOM_ROOT}/test/test_data_util.cmake")
@@ -389,3 +392,5 @@
EXCLUDE_FROM_DEFAULT_BUILD TRUE)
endif ()
endfunction ()
+
+endif () # AOM_TEST_TEST_CMAKE_