coin3d / simage

Image file loading
ISC License
7 stars 9 forks source link

Fix find_dependency calls in config file #50

Closed rickertm closed 3 years ago

rickertm commented 3 years ago

Fixes find_dependency() calls in simage-config.cmake to re-enable optional dependency on simage. The REQUIRED options added in commit f529f1408bd3b38bbb6368dade8963d428b2ee31 need to be removed, as these are automatically set by CMakeFindDependencyMacro based on the options used in the find_package(simage) 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 @rickertm for the fix.