Cleanup: Correct logic for static Embree library SIMD libs

We are only using a dynamic library so this doesn't matter in practice,
just better to avoid having wrong examples in the code.

Pull Request: https://projects.blender.org/blender/blender/pulls/133105
This commit is contained in:
Brecht Van Lommel
2025-01-15 15:56:09 +01:00
committed by Gitea
parent 599fa13ac0
commit 7c2ace05ab

View File

@@ -58,7 +58,7 @@ if(EMBREE_INCLUDE_DIR)
endif()
if(EMBREE_STATIC_LIB)
if(NOT (("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "aarch64") OR (APPLE AND ("${CMAKE_OSX_ARCHITECTURES}" STREQUAL "arm64"))))
if((CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64|AMD64") OR (APPLE AND (CMAKE_OSX_ARCHITECTURES STREQUAL "x86_64")))
set(_embree_SIMD_COMPONENTS
embree_sse42
embree_avx