Skip to content

Commit

Permalink
FIX: Enforce CONFIG cmake search mode for deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jlblancoc committed Dec 5, 2024
1 parent 3bbe5b0 commit eab9f66
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions doc/source/doxygen-docs/changelog.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion parse-files/mrpt-xxx-config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit eab9f66

Please sign in to comment.