From e002dbf57ec5f54d68923f949b29852d41eae93c Mon Sep 17 00:00:00 2001 From: SChernykh Date: Sat, 21 Sep 2019 10:48:14 +0200 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 07654d04..850ddef8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -143,7 +143,7 @@ else() endif() endif() -if (CMAKE_SYSTEM_NAME MATCHES "Linux") +if (CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME MATCHES "Android") EXECUTE_PROCESS(COMMAND uname -o COMMAND tr -d '\n' OUTPUT_VARIABLE OPERATING_SYSTEM) if (OPERATING_SYSTEM MATCHES "Android") set(EXTRA_LIBS ${EXTRA_LIBS} log)