summaryrefslogtreecommitdiffstats
path: root/third_party/aom/build/cmake/msvc_runtime.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/aom/build/cmake/msvc_runtime.cmake')
-rw-r--r--third_party/aom/build/cmake/msvc_runtime.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/aom/build/cmake/msvc_runtime.cmake b/third_party/aom/build/cmake/msvc_runtime.cmake
index 0327217b4..3da5f7df6 100644
--- a/third_party/aom/build/cmake/msvc_runtime.cmake
+++ b/third_party/aom/build/cmake/msvc_runtime.cmake
@@ -8,6 +8,8 @@
## 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_MSVC_RUNTIME_CMAKE_)
+set(AOM_BUILD_CMAKE_MSVC_RUNTIME_CMAKE_ 1)
if (MSVC)
# CMake defaults to producing code linked to the DLL MSVC runtime. That will
@@ -24,3 +26,5 @@ if (MSVC)
endforeach (flag_var)
endif ()
endif ()
+
+endif () # AOM_BUILD_CMAKE_MSVC_RUNTIME_CMAKE_