From f5be64d9b9990de926c67341055fefa186044399 Mon Sep 17 00:00:00 2001 From: Tzu-Mao Li Date: Mon, 8 Jan 2024 09:40:46 -0800 Subject: [PATCH] Fix FindEmbree CMake file --- cmake/FindEmbree.cmake | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmake/FindEmbree.cmake b/cmake/FindEmbree.cmake index 35afcf7..f9c9f7a 100644 --- a/cmake/FindEmbree.cmake +++ b/cmake/FindEmbree.cmake @@ -1,20 +1,20 @@ -find_path(EMBREE_INCLUDE_PATH embree3/rtcore.h +find_path(EMBREE_INCLUDE_PATH embree4/rtcore.h ${CMAKE_SOURCE_DIR}/embree/include /usr/include /usr/local/include /opt/local/include) if (APPLE) -find_library(EMBREE_LIBRARY NAMES embree3 PATHS +find_library(EMBREE_LIBRARY NAMES embree4 PATHS ${CMAKE_SOURCE_DIR}/embree/lib-macos /usr/lib /usr/local/lib /opt/local/lib) elseif (WIN32) -find_library(EMBREE_LIBRARY NAMES embree3 PATHS +find_library(EMBREE_LIBRARY NAMES embree4 PATHS ${CMAKE_SOURCE_DIR}/embree/lib-win32) else () -find_library(EMBREE_LIBRARY NAMES embree3 PATHS +find_library(EMBREE_LIBRARY NAMES embree4 PATHS ${CMAKE_SOURCE_DIR}/embree/lib-linux /usr/lib /usr/local/lib