From 1f881d790471213e549d3861f4d7f32d886f3495 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Tue, 18 Sep 2018 19:23:12 -0700 Subject: [PATCH] Android: Buildfix for CMake 3.6. The buildbot doesn't support GREATER_EQUAL. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f2df819dc61..2ff0a8bbf545 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,7 +31,7 @@ if(CMAKE_SYSTEM_PROCESSOR) if(UNIX AND NOT APPLE) execute_process(COMMAND cat /proc/cpuinfo OUTPUT_VARIABLE OUTSTR) string(FIND "${OUTSTR}" "ODROID-XU" pos) - if(pos GREATER_EQUAL 0) + if(NOT (pos LESS 0)) add_compile_options(-mfloat-abi=hard -marm -mtune=cortex-a15.cortex-a7 -mcpu=cortex-a15 -fomit-frame-pointer) set(ARM_NO_VULKAN ON) endif()