From 8128ed9e913b149ecef68a091685b5f69e370fb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A2=A8=E6=82=B2=E4=B8=9D=E6=9F=93?= Date: Tue, 27 Oct 2020 15:50:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3x86=5F64=E5=B9=B3=E5=8F=B0?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E7=BC=96=E8=AF=91=E7=9A=84=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20=E9=80=9A=E8=BF=87CMAKE=5FSYSTEM=5FPROCESSOR=E6=9D=A5?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E5=BD=93=E5=89=8D=E7=B3=BB=E7=BB=9F=E7=BB=93?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0f06ab9..0fa0738 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -58,7 +58,7 @@ add_library(anbox-protobuf anbox/protobuf/anbox_container.proto anbox/protobuf/google_protobuf_guard.cpp) -if(CMAKE_OSX_ARCHITECTURES MATCHES "x86_64") +if(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") target_link_libraries(anbox-protobuf ${PROTOBUF_LITE_LIBRARIES} /usr/lib/x86_64-linux-gnu/libasound.so -- Gitee