Closed rleigh-codelibre closed 6 years ago
Logic such as this:
if(boost_throw_exception_FOUND) file(APPEND "${PROJECT_BINARY_DIR}/boost_mpi-config.cmake" " find_package(boost_throw_exception) ")
should be using find_dependency (from CMakeFindDependencyMacro). This is equivalent to find_package but is specifically for use in recursive calls inside configuration scripts.
find_dependency
CMakeFindDependencyMacro
find_package
Yes, totally agree, this was a complete oversight.
Logic such as this:
should be using
find_dependency
(fromCMakeFindDependencyMacro
). This is equivalent tofind_package
but is specifically for use in recursive calls inside configuration scripts.