Files
CMake/Modules
Hermann von Kleist ae558b9ad0 FindMatlab: Support REGISTRY_VIEW
CMake 3.24 added REGISTRY_VIEW as find_package argument. Since
FindMatlab.cmake looks up the registry, we might as well support it.

While some logic existed to select the correct registry view when
searching for the installed versions, that logic was not applied when
getting the matlab root directories, which might have led to weird
situations in which both the 32-bit and 64-bit version of the same
Matlab release were installed simultaneously.

The changes made in this commit try not to break existing and documented
behavior from exposed functions. The exposed functions which interact
with the registry get an optional `REGISTRY_VIEW` argument.

If no REGISTRY_VIEW is passed to find_package, FindMatlab uses the
`TARGET` view to mimic the previous behavior.
2024-02-20 18:07:47 +01:00
..
2023-08-16 09:42:53 -04:00
2023-11-17 09:58:21 -05:00
2023-11-17 09:58:21 -05:00
2023-11-17 09:58:21 -05:00
2023-11-17 09:58:21 -05:00
2023-11-17 09:58:21 -05:00
2023-11-17 09:58:21 -05:00
2023-11-17 09:58:21 -05:00
2023-05-22 16:51:15 -04:00
2023-11-17 09:58:21 -05:00
2023-11-17 09:58:21 -05:00
2023-10-10 09:25:05 -04:00
2023-11-17 09:58:21 -05:00
2023-11-17 09:58:21 -05:00
2024-01-16 11:57:53 -05:00
2023-11-17 09:58:21 -05:00
2023-11-17 09:58:21 -05:00

See the "Find Modules" section of the cmake-developer(7) manual page.

For more information about how to contribute modules to CMake, see this page:
https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/dev/Module-Maintainers