Skip to content

[feat] Improve optional depencies in Config file of slam

Tong Fu requested to merge feat/ImproveConfigFile into master

find_dependency() forwards the parameters for EXACT, QUIET and REQUIRED which were passed to the original find_package() call.

The issue is that the QUIET option disables messages only for find_package() if the package cannot be found.

find_dependency() returns always messages if NOT package_FOUND.

So now, package_FOUND is checked in slam Config.cmake file for optional dependencies.

Edited by Julia Sanchez

Merge request reports