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

Fix CMake error when OSPRAY_TEST is OFF #295

Closed wilsonCernWq closed 5 years ago

wilsonCernWq commented 5 years ago

Hi

There is a small problem when building the latest OSPRay devel without OSPRAT_TEST. So without OSPRAY_TEST, targets like ospRandSphereTest will not exist so we cannot call target_link...

I provided a quick fix ...

Qi

Twinklebear commented 5 years ago

Hey Qi, sorry this is fixed on the internal OSPRay repo but the fix hasn't been pushed onto devel on Github yet. It should be fixed in a16913f9 when that's pushed to github.

Twinklebear commented 5 years ago

Actually, it looks like that is on the release-1.8.x branch on github. Could you try out that branch?

jeffamstutz commented 5 years ago

This should be working in the current v1.8.0 release. Please re-open or post here if there's a config still not working.