diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0f06ab9176f9396fa04562b54687d7652bd0e54b..0fa073856ebe81ea70c3bcb1d253c07b3b59fa0d 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