Skip to content

Commit

Permalink
Android: Buildfix for CMake 3.6.
Browse files Browse the repository at this point in the history
The buildbot doesn't support GREATER_EQUAL.
  • Loading branch information
unknownbrackets committed Sep 19, 2018
1 parent 025e478 commit 1f881d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 1f881d7

Please sign in to comment.