RenderKit / ospray

An Open, Scalable, Portable, Ray Tracing Based Rendering Engine for High-Fidelity Visualization
http://ospray.org
Apache License 2.0
1.02k stars 186 forks source link

Provide exported targets in ospray-config.cmake #286

Closed mathstuf closed 5 years ago

mathstuf commented 5 years ago

It would be nice to have OSPRay install exported targets for find_package(ospray) consumers. This would allow for target_link_libraries(mytgt PRIVATE ospray) to get the library and include directories automatically.

wilsonCernWq commented 5 years ago

I previously submitted a pull request for adding modern cmake support. Maybe the feature will be available soon.

mathstuf commented 5 years ago

Thanks for the pointer. Should have searched PRs as well. I'll take a look.

jeffamstutz commented 5 years ago

This is implemented in v1.8.0. Please let us know if you run into any issues!