Skip to content

Commit

Permalink
fix embree on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
alemuntoni committed Oct 31, 2023
1 parent f4c02e6 commit d49c5ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/macOS/0_setup_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ case $i in
esac
done

brew install coreutils node cmake ninja llvm libomp cgal xerces-c tbb embree@3
brew install coreutils node cmake ninja llvm libomp cgal xerces-c tbb embree
npm install -g appdmg

if [ "$DONT_INSTALL_QT" = false ] ; then
Expand Down
2 changes: 1 addition & 1 deletion src/external/embree.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ option(MESHLAB_ALLOW_DOWNLOAD_DLL_EMBREE "Allow download and use of embree dll (
option(MESHLAB_ALLOW_SYSTEM_EMBREE "Allow use of system-provided embree" ON)

# looking for embree for the filter_embree
find_package(embree 3.0)
find_package(embree)
find_package(TBB)

if(MESHLAB_ALLOW_SYSTEM_EMBREE AND TARGET embree AND TBB_FOUND)
Expand Down

0 comments on commit d49c5ee

Please sign in to comment.