Skip to content

Commit

Permalink
macOS + embree compilation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tizian committed May 18, 2020
1 parent ecc0914 commit 201bf96
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/shapes/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ add_plugin(cylinder cylinder.cpp)
add_plugin(disk disk.cpp)
add_plugin(rectangle rectangle.cpp)
add_plugin(sphere sphere.cpp)
if (MTS_ENABLE_EMBREE)
target_link_libraries(sphere PRIVATE $<TARGET_FILE:embree>)
endif()

# Register the test directory
add_tests(${CMAKE_CURRENT_SOURCE_DIR}/tests)

0 comments on commit 201bf96

Please sign in to comment.