jrl-umi3218 / jrl-cmakemodules

CMake utility toolbox
https://jrl-cmakemodules.readthedocs.io/en/master/
Other
59 stars 47 forks source link

support for version checking in external finders #427

Closed proyan closed 4 years ago

proyan commented 4 years ago

related to: https://github.com/loco-3d/crocoddyl/pull/824/files#r465941184

Hi guys, Is it possible to add version check in the external finders? It seems that currently version checking is not possible in the Cmake itself.

proyan commented 4 years ago

I'll be happy to help, if someone can show how to do the needful.

nim65s commented 4 years ago

The documentation to find_package is here: https://cmake.org/cmake/help/v3.1/module/FindPackageHandleStandardArgs.html And the example about version is about this module: https://github.com/Kitware/CMake/blob/master/Modules/FindLibXslt.cmake

proyan commented 4 years ago

Thanks