diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-03-01 21:15:29 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-03-01 21:43:54 +0300 |
commit | f39143bc2ed4eb33bb85a3d923cb457384141bf8 (patch) | |
tree | fba90399a3c9fe57ed00ce048ba63f45ea65838a /build_files/cmake/platform | |
parent | 77bc5510a90bbfcc7adaed6a0e4c4768cb236239 (diff) |
CMake: reduce Neon related output on Intel platforms
* Only try to find sse2neon if Neon detected
* Only run Neon support test once
Diffstat (limited to 'build_files/cmake/platform')
-rw-r--r-- | build_files/cmake/platform/platform_apple.cmake | 2 | ||||
-rw-r--r-- | build_files/cmake/platform/platform_unix.cmake | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/build_files/cmake/platform/platform_apple.cmake b/build_files/cmake/platform/platform_apple.cmake index 12a7a6c504f..be9261798f4 100644 --- a/build_files/cmake/platform/platform_apple.cmake +++ b/build_files/cmake/platform/platform_apple.cmake @@ -324,7 +324,7 @@ if(WITH_NANOVDB) find_package(NanoVDB) endif() -if(WITH_CPU_SIMD) +if(WITH_CPU_SIMD AND SUPPORT_NEON_BUILD) find_package(sse2neon) endif() diff --git a/build_files/cmake/platform/platform_unix.cmake b/build_files/cmake/platform/platform_unix.cmake index ef73ef40ac3..47c788c7eb6 100644 --- a/build_files/cmake/platform/platform_unix.cmake +++ b/build_files/cmake/platform/platform_unix.cmake @@ -285,7 +285,7 @@ if(WITH_NANOVDB) endif() endif() -if(WITH_CPU_SIMD) +if(WITH_CPU_SIMD AND SUPPORT_NEON_BUILD) find_package_wrapper(sse2neon) endif() |