<div dir="ltr">Hi,<br><br>I know that I could write <a href="http://FooConfig.cmake.in">FooConfig.cmake.in</a>, call configure_package_config_file() to generate package configuration file and call write_basic_package_version_file() to generate a version file.<br>Typically <a href="http://FooConfig.cmake.in">FooConfig.cmake.in</a> contains:<br>@PACKAGE_INIT@<br>find_dependency(...)<br><br>My question is why do I need to do that? Is it not possible for cmake to autogenerate theses files?<br>I may be wrong but I think that "modern cmake" has the necessary informations to do that.<br><br>Regards,<br><br>Damien R.<br></div>