tests: add INCLUDE_DIRECTORIES(${EMBREE_INCLUDE_DIRS})

This commit is contained in:
Eric Wasylishen 2022-07-10 17:01:25 -06:00
parent 050886f32c
commit 1c59cc3a44
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,8 @@ add_executable(tests
)
find_package(embree 3.0 REQUIRED)
INCLUDE_DIRECTORIES(${EMBREE_INCLUDE_DIRS})
# HACK: Windows embree .dll's from https://github.com/embree/embree/releases ship with a tbb12.dll
# and we need to copy it from the embree/bin directory to our light.exe/testlight.exe dir in order for them to run
find_file(EMBREE_TBB_DLL tbb12.dll