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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user