FindMatlab with EXACT fails if newer Matlab version is installed
Installed Matlab versions: 9.2, 9.3, 9.4
find_package(Matlab 9.3 EXACT) fails because it always picks the newest Matlab version:
-- [MATLAB] Matlab root folders are 9.4;C:/Matlab/R2018a;9.3;C:/Matlab/R2017b;9.2;C:/Matlab/R2017a
[MATLAB] Found several distributions of Matlab. Setting the current version to 9.4 (located C:/Matlab/R2018a). If this is not the desired behaviour, provide the -DMatlab_ROOT_DIR=... on the command line
Could NOT find Matlab: Found unsuitable version "9.4", but required is exact version "9.3" (found C:/Matlab/R2018a/extern/include)
Expected behaviour: if EXACT option is given to find_package, it picks that version instead of the newest.