diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-12-07 11:59:12 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-12-07 11:59:12 +0000 |
commit | c1f60f8773a48fa5f598920f9099edbabe69b7cf (patch) | |
tree | 1df2a4965f354fcb732ed90b80f33e7ee692b043 /build/x86-mingw-gcc.cmake | |
parent | edf35cac3d0d3817119ac7da7b934438f2d3ff8f (diff) | |
parent | e546ccacd3177e86ab7cd5ff1c457748313a750f (diff) | |
download | libwebm-c1f60f8773a48fa5f598920f9099edbabe69b7cf.tar.gz |
Snap for 11190379 from e546ccacd3177e86ab7cd5ff1c457748313a750f to mainline-conscrypt-releaseaml_con_341614000aml_con_341511080aml_con_341410300android14-mainline-conscrypt-release
Change-Id: I38118d7b40f273d6f1e01c8932ec7915a1ca9d80
Diffstat (limited to 'build/x86-mingw-gcc.cmake')
-rw-r--r-- | build/x86-mingw-gcc.cmake | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/build/x86-mingw-gcc.cmake b/build/x86-mingw-gcc.cmake index 8416eaf..3469df2 100644 --- a/build/x86-mingw-gcc.cmake +++ b/build/x86-mingw-gcc.cmake @@ -1,26 +1,26 @@ -## Copyright (c) 2017 The WebM project authors. All Rights Reserved. -## -## Use of this source code is governed by a BSD-style license -## that can be found in the LICENSE file in the root of the source -## tree. An additional intellectual property rights grant can be found -## in the file PATENTS. All contributing project authors may -## be found in the AUTHORS file in the root of the source tree. -if (NOT LIBWEBM_BUILD_X86_MINGW_GCC_CMAKE_) -set(LIBWEBM_BUILD_X86_MINGW_GCC_CMAKE_ 1) +# Copyright (c) 2017 The WebM project authors. All Rights Reserved. +# +# Use of this source code is governed by a BSD-style license +# that can be found in the LICENSE file in the root of the source +# tree. An additional intellectual property rights grant can be found +# in the file PATENTS. All contributing project authors may +# be found in the AUTHORS file in the root of the source tree. +if(NOT LIBWEBM_BUILD_X86_MINGW_GCC_CMAKE_) + set(LIBWEBM_BUILD_X86_MINGW_GCC_CMAKE_ 1) -set(CMAKE_SYSTEM_PROCESSOR "x86") -set(CMAKE_SYSTEM_NAME "Windows") -set(CMAKE_C_COMPILER_ARG1 "-m32") -set(CMAKE_CXX_COMPILER_ARG1 "-m32") + set(CMAKE_SYSTEM_PROCESSOR "x86") + set(CMAKE_SYSTEM_NAME "Windows") + set(CMAKE_C_COMPILER_ARG1 "-m32") + set(CMAKE_CXX_COMPILER_ARG1 "-m32") -if ("${CROSS}" STREQUAL "") - set(CROSS i686-w64-mingw32-) -endif () + if("${CROSS}" STREQUAL "") + set(CROSS i686-w64-mingw32-) + endif() -set(CMAKE_C_COMPILER ${CROSS}gcc) -set(CMAKE_CXX_COMPILER ${CROSS}g++) + set(CMAKE_C_COMPILER ${CROSS}gcc) + set(CMAKE_CXX_COMPILER ${CROSS}g++) -# Disable googletest CMake usage for mingw cross compiles. -set(LIBWEBM_DISABLE_GTEST_CMAKE 1) + # Disable googletest CMake usage for mingw cross compiles. + set(LIBWEBM_DISABLE_GTEST_CMAKE 1) -endif () # LIBWEBM_BUILD_X86_MINGW_GCC_CMAKE_ +endif() # LIBWEBM_BUILD_X86_MINGW_GCC_CMAKE_ |