This will automatically add cmake/find-external/CppAD to the current CMAKE_MODULE_PATH, and install that directory into the CONFIG_INSTALL_DIR and set up the right CMAKE_MODULE_PATH for dependent packages.
This way, if a package A depends on eg. CppAD, and a package B depends on A, B will easily find CppAD exactly as A did.
Hi,
This PR allow:
This will automatically add
cmake/find-external/CppAD
to the currentCMAKE_MODULE_PATH
, and install that directory into theCONFIG_INSTALL_DIR
and set up the rightCMAKE_MODULE_PATH
for dependent packages.This way, if a package A depends on eg. CppAD, and a package B depends on A, B will easily find CppAD exactly as A did.
FIx: https://github.com/loco-3d/ndcurves/pull/50 https://github.com/Gepetto/example-robot-data/pull/53 https://github.com/loco-3d/multicontact-api/pull/20