diff --git a/doc/source/doxygen-docs/changelog.md b/doc/source/doxygen-docs/changelog.md index d6adc3d20d..8771f001b3 100644 --- a/doc/source/doxygen-docs/changelog.md +++ b/doc/source/doxygen-docs/changelog.md @@ -1,5 +1,9 @@ \page changelog Change Log +# Version 2.14.7: UNRELEASED +- Build system: + - `mrpt-*-config.cmake` files now enforce the search of cmake dependencies in CONFIG mode, to avoid being foolish by deprecated `FindXXX()` lying around. + # Version 2.14.6: Released Dec 3rd, 2024 - Changes in libraries: - \ref mrpt_gui_grp: diff --git a/parse-files/mrpt-xxx-config.cmake.in b/parse-files/mrpt-xxx-config.cmake.in index bd0f019ddf..6073137820 100644 --- a/parse-files/mrpt-xxx-config.cmake.in +++ b/parse-files/mrpt-xxx-config.cmake.in @@ -40,7 +40,7 @@ foreach(_dep ${_deps}) # NO quotes for the list to be a CMake list! if (${_dep}_FOUND) continue() # already found endif() - find_dependency(${_dep}) + find_dependency(${_dep} CONFIG) # Don't look for old FindXXX() files if(${_dep}_FOUND) mark_as_advanced(${_dep}_DIR) endif()