2020-08-29 06:37:42 +08:00
|
|
|
diff --git a/common/cmake/embree-config.cmake b/common/cmake/embree-config.cmake
|
2021-05-18 15:50:59 +08:00
|
|
|
index 5087ca0..fdf8135 100644
|
2020-08-29 06:37:42 +08:00
|
|
|
--- a/common/cmake/embree-config.cmake
|
|
|
|
+++ b/common/cmake/embree-config.cmake
|
2021-05-18 15:50:59 +08:00
|
|
|
@@ -52,6 +52,21 @@ IF (EMBREE_STATIC_LIB)
|
2020-08-29 06:37:42 +08:00
|
|
|
INCLUDE("${EMBREE_ROOT_DIR}/@EMBREE_CMAKEEXPORT_DIR@/tasking-targets.cmake")
|
2021-05-18 15:50:59 +08:00
|
|
|
|
|
|
|
|
2020-08-29 06:37:42 +08:00
|
|
|
+ IF(EMBREE_ISA_SSE42)
|
|
|
|
+ INCLUDE("${EMBREE_ROOT_DIR}/@EMBREE_CMAKEEXPORT_DIR@/embree_sse42-targets.cmake")
|
|
|
|
+ ENDIF()
|
|
|
|
+ IF(EMBREE_ISA_AVX)
|
|
|
|
+ INCLUDE("${EMBREE_ROOT_DIR}/@EMBREE_CMAKEEXPORT_DIR@/embree_avx-targets.cmake")
|
|
|
|
+ ENDIF()
|
|
|
|
+ IF(EMBREE_ISA_AVX2)
|
|
|
|
+ INCLUDE("${EMBREE_ROOT_DIR}/@EMBREE_CMAKEEXPORT_DIR@/embree_avx2-targets.cmake")
|
2021-05-14 04:33:17 +08:00
|
|
|
+ ENDIF()
|
|
|
|
+ IF(EMBREE_ISA_AVX512KNL)
|
|
|
|
+ INCLUDE("${EMBREE_ROOT_DIR}/@EMBREE_CMAKEEXPORT_DIR@/embree_avx512knl-targets.cmake")
|
|
|
|
+ ENDIF()
|
|
|
|
+ IF(EMBREE_ISA_AVX512SKX)
|
|
|
|
+ INCLUDE("${EMBREE_ROOT_DIR}/@EMBREE_CMAKEEXPORT_DIR@/embree_avx512skx-targets.cmake")
|
2020-08-29 06:37:42 +08:00
|
|
|
+ ENDIF()
|
|
|
|
ENDIF()
|
|
|
|
|
|
|
|
INCLUDE("${EMBREE_ROOT_DIR}/@EMBREE_CMAKEEXPORT_DIR@/embree-targets.cmake")
|