RenderKit / ospray

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

`find_package(GTest REQUIRED CONFIG)` fails on cmake 3.21.4 #586

Open shamefulCake1 opened 4 months ago

shamefulCake1 commented 4 months ago

GTest support is usually provided by cmake itself by the means of FindGTest.cmake, rather than by gtest using GTestConfig.cmake.

So I am not entirely sure why that like in ospTestSuite is using the CONFIG mode.

Patching CONFIG out just works, but maybe this should be the default?