Corrected build for android

parent 30073243
......@@ -42,7 +42,7 @@ endif()
# Add native CPU features support:
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_CLANGXX)
if(CMAKE_CXX_COMPILER_ID MATCHES "Android")
if(${CMAKE_SYSTEM_NAME} MATCHES "Android")
# See documentation
else()
add_definitions("-march=native")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment