The package embree3 provides CMake targets:
find_package(embree 3 CONFIG REQUIRED)
target_link_libraries(main PRIVATE embree)