cmake: don't define ENABLE_NEON flags in non-cross-compiling mode
authorAlexander Alekhin <alexander.a.alekhin@gmail.com>
Tue, 8 Dec 2020 16:48:16 +0000 (16:48 +0000)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Tue, 8 Dec 2020 18:01:03 +0000 (18:01 +0000)
commit8ebe320270cf18040a154ae6d981cf16937dc754
treea033222bc9fec7b814ca98d840d35cdb07d5d6bf
parent31619faa70b889bf45bec2e9b6139fb4fd2b8238
cmake: don't define ENABLE_NEON flags in non-cross-compiling mode

- NEON / ANDROID_ARM_NEON are toolchain-specific flags
- they are usually not defined for native builds
- let work CPU_BASELINE=DETECT properly
CMakeLists.txt