1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05:00

Add Android support. Convert line endings

This commit is contained in:
Jon Beniston 2023-01-02 15:26:46 +00:00
parent c39260fbdb
commit c817eadcc4

View File

@ -176,6 +176,7 @@ if (ARCH_OPT)
elseif (ARCHITECTURE_PPC64) elseif (ARCHITECTURE_PPC64)
set(CMAKE_REQUIRED_FLAGS "-mcpu=${ARCH_OPT}") set(CMAKE_REQUIRED_FLAGS "-mcpu=${ARCH_OPT}")
add_compile_options(-mcpu=${ARCH_OPT}) add_compile_options(-mcpu=${ARCH_OPT})
elseif(ANDROID)
else() else()
set(CMAKE_REQUIRED_FLAGS "-march=${ARCH_OPT}") set(CMAKE_REQUIRED_FLAGS "-march=${ARCH_OPT}")
add_compile_options(-march=${ARCH_OPT}) add_compile_options(-march=${ARCH_OPT})