coin3d / soqt

Old Coin GUI binding for Qt, replaced by Quarter
BSD 3-Clause "New" or "Revised" License
22 stars 17 forks source link

Fix find_dependency calls in config file #68

Closed rickertm closed 3 years ago

rickertm commented 3 years ago

Fixes find_dependency() calls in soqt-config.cmake to re-enable optional dependency on SoQt. The REQUIRED options added in commit c33e43c8a31e19de41297501646b0e5c8809c031 need to be removed, as these are automatically set by CMakeFindDependencyMacro based on the options used in the find_package(SoQt) call:

find_dependency forwards the correct parameters for QUIET and REQUIRED which were passed to the original find_package() call. Any additional arguments specified are forwarded to find_package().

VolkerEnderlein commented 3 years ago

Thanks a lot for the fix @rickertm . It is highly appreciated.